Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
This data source provides Ssl Certificates Service Instance Certificate available to the user.What is Instance Certificate
NOTE: Available since v1.287.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.sslcertificatesserviceinstance.Certificates({
certificateStatus: "issued",
});
export const alicloudSslCertificatesServiceInstanceCertificateExampleId = _default.then(_default => _default.certificates?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.sslcertificatesserviceinstance.certificates(certificate_status="issued")
pulumi.export("alicloudSslCertificatesServiceInstanceCertificateExampleId", default.certificates[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sslcertificatesserviceinstance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := sslcertificatesserviceinstance.Certificates(ctx, &sslcertificatesserviceinstance.CertificatesArgs{
CertificateStatus: pulumi.StringRef("issued"),
}, nil)
if err != nil {
return err
}
ctx.Export("alicloudSslCertificatesServiceInstanceCertificateExampleId", _default.Certificates[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.SslCertificatesServiceInstance.Certificates.Invoke(new()
{
CertificateStatus = "issued",
});
return new Dictionary<string, object?>
{
["alicloudSslCertificatesServiceInstanceCertificateExampleId"] = @default.Apply(@default => @default.Apply(certificatesResult => certificatesResult.Certificates[0]?.Id)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sslcertificatesserviceinstance.SslcertificatesserviceinstanceFunctions;
import com.pulumi.alicloud.sslcertificatesserviceinstance.inputs.CertificatesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 default = SslcertificatesserviceinstanceFunctions.Certificates(CertificatesArgs.builder()
.certificateStatus("issued")
.build());
ctx.export("alicloudSslCertificatesServiceInstanceCertificateExampleId", default_.certificates()[0].id());
}
}
variables:
default:
fn::invoke:
function: alicloud:sslcertificatesserviceinstance:Certificates
arguments:
certificateStatus: issued
outputs:
alicloudSslCertificatesServiceInstanceCertificateExampleId: ${default.certificates[0].id}
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_sslcertificatesserviceinstance_certificates" "default" {
certificate_status = "issued"
}
output "alicloudSslCertificatesServiceInstanceCertificateExampleId" {
value = data.alicloud_sslcertificatesserviceinstance_certificates.default.certificates[0].id
}
Using Certificates
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 certificates(args: CertificatesArgs, opts?: InvokeOptions): Promise<CertificatesResult>
function certificatesOutput(args: CertificatesOutputArgs, opts?: InvokeOutputOptions): Output<CertificatesResult>def certificates(certificate_source: Optional[str] = None,
certificate_status: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> CertificatesResult
def certificates_output(certificate_source: pulumi.Input[Optional[str]] = None,
certificate_status: pulumi.Input[Optional[str]] = None,
ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
instance_id: pulumi.Input[Optional[str]] = None,
output_file: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[CertificatesResult]func Certificates(ctx *Context, args *CertificatesArgs, opts ...InvokeOption) (*CertificatesResult, error)
func CertificatesOutput(ctx *Context, args *CertificatesOutputArgs, opts ...InvokeOption) CertificatesResultOutputpublic static class Certificates
{
public static Task<CertificatesResult> InvokeAsync(CertificatesArgs args, InvokeOptions? opts = null)
public static Output<CertificatesResult> Invoke(CertificatesInvokeArgs args, InvokeOptions? opts = null)
public static Output<CertificatesResult> Invoke(CertificatesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
public static Output<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
public static Output<CertificatesResult> certificates(CertificatesArgs args, InvokeOutputOptions options)
fn::invoke:
function: alicloud:sslcertificatesserviceinstance:Certificates
arguments:
# arguments dictionarydata "alicloud_sslcertificatesserviceinstance_certificates" "name" {
# arguments
}The following arguments are supported:
- Certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - Certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - Ids List<string>
- A list of Instance Certificate IDs.
- Instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- Certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - Certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - Ids []string
- A list of Instance Certificate IDs.
- Instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- certificate_
source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate_
status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - ids list(string)
- A list of Instance Certificate IDs.
- instance_
id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- output_
file string - File name where to save data source results (after running
pulumi preview).
- certificate
Source String - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status String - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - ids List<String>
- A list of Instance Certificate IDs.
- instance
Id String - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- output
File String - File name where to save data source results (after running
pulumi preview).
- certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - ids string[]
- A list of Instance Certificate IDs.
- instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- output
File string - File name where to save data source results (after running
pulumi preview).
- certificate_
source str - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate_
status str - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - ids Sequence[str]
- A list of Instance Certificate IDs.
- instance_
id str - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- output_
file str - File name where to save data source results (after running
pulumi preview).
- certificate
Source String - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status String - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - ids List<String>
- A list of Instance Certificate IDs.
- instance
Id String - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- output
File String - File name where to save data source results (after running
pulumi preview).
Certificates Result
The following output properties are available:
- Certificates
List<Pulumi.
Ali Cloud.ssl Certificates Service Instance. Outputs. Certificates Certificate> - A list of Instance Certificate Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Instance Certificate IDs.
- Certificate
Source string - The source of the certificate.
- Certificate
Status string - The status of the certificate.
- Instance
Id string - The ID of the certificate instance that issued this certificate.
- Output
File string
- Certificates
[]Certificates
Certificate - A list of Instance Certificate Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Instance Certificate IDs.
- Certificate
Source string - The source of the certificate.
- Certificate
Status string - The status of the certificate.
- Instance
Id string - The ID of the certificate instance that issued this certificate.
- Output
File string
- certificates list(object)
- A list of Instance Certificate Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids list(string)
- A list of Instance Certificate IDs.
- certificate_
source string - The source of the certificate.
- certificate_
status string - The status of the certificate.
- instance_
id string - The ID of the certificate instance that issued this certificate.
- output_
file string
- certificates
List<Certificates
Certificate> - A list of Instance Certificate Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Instance Certificate IDs.
- certificate
Source String - The source of the certificate.
- certificate
Status String - The status of the certificate.
- instance
Id String - The ID of the certificate instance that issued this certificate.
- output
File String
- certificates
Certificates
Certificate[] - A list of Instance Certificate Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Instance Certificate IDs.
- certificate
Source string - The source of the certificate.
- certificate
Status string - The status of the certificate.
- instance
Id string - The ID of the certificate instance that issued this certificate.
- output
File string
- certificates
Sequence[Certificates
Certificate] - A list of Instance Certificate Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Instance Certificate IDs.
- certificate_
source str - The source of the certificate.
- certificate_
status str - The status of the certificate.
- instance_
id str - The ID of the certificate instance that issued this certificate.
- output_
file str
- certificates List<Property Map>
- A list of Instance Certificate Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Instance Certificate IDs.
- certificate
Source String - The source of the certificate.
- certificate
Status String - The status of the certificate.
- instance
Id String - The ID of the certificate instance that issued this certificate.
- output
File String
Supporting Types
CertificatesCertificate
- Algorithm string
- The encryption algorithm of the certificate.
- Cert
Identifier string - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - Certificate
Id int - The ID of the certificate.
- Certificate
Name string - The name of the certificate.
- Certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - Certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - Common
Name string - The common name of the certificate.
- Domain string
- All domain names covered by the certificate, separated by commas.
- Exist
Private boolKey - Indicates whether the private key of the certificate is held on the server side.
- Finger
Print string - The public key fingerprint of the certificate.
- Id int
- The ID of the resource supplied above.
- Instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- Issuer string
- The certificate authority that issued the certificate.
- Key
Size int - The key length of the certificate algorithm.
- Not
After int - The end of the certificate validity period.
- Not
Before int - The start of the certificate validity period.
- Algorithm string
- The encryption algorithm of the certificate.
- Cert
Identifier string - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - Certificate
Id int - The ID of the certificate.
- Certificate
Name string - The name of the certificate.
- Certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - Certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - Common
Name string - The common name of the certificate.
- Domain string
- All domain names covered by the certificate, separated by commas.
- Exist
Private boolKey - Indicates whether the private key of the certificate is held on the server side.
- Finger
Print string - The public key fingerprint of the certificate.
- Id int
- The ID of the resource supplied above.
- Instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- Issuer string
- The certificate authority that issued the certificate.
- Key
Size int - The key length of the certificate algorithm.
- Not
After int - The end of the certificate validity period.
- Not
Before int - The start of the certificate validity period.
- algorithm string
- The encryption algorithm of the certificate.
- cert_
identifier string - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - certificate_
id number - The ID of the certificate.
- certificate_
name string - The name of the certificate.
- certificate_
source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate_
status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - common_
name string - The common name of the certificate.
- domain string
- All domain names covered by the certificate, separated by commas.
- exist_
private_ boolkey - Indicates whether the private key of the certificate is held on the server side.
- finger_
print string - The public key fingerprint of the certificate.
- id number
- The ID of the resource supplied above.
- instance_
id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- issuer string
- The certificate authority that issued the certificate.
- key_
size number - The key length of the certificate algorithm.
- not_
after number - The end of the certificate validity period.
- not_
before number - The start of the certificate validity period.
- algorithm String
- The encryption algorithm of the certificate.
- cert
Identifier String - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - certificate
Id Integer - The ID of the certificate.
- certificate
Name String - The name of the certificate.
- certificate
Source String - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status String - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - common
Name String - The common name of the certificate.
- domain String
- All domain names covered by the certificate, separated by commas.
- exist
Private BooleanKey - Indicates whether the private key of the certificate is held on the server side.
- finger
Print String - The public key fingerprint of the certificate.
- id Integer
- The ID of the resource supplied above.
- instance
Id String - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- issuer String
- The certificate authority that issued the certificate.
- key
Size Integer - The key length of the certificate algorithm.
- not
After Integer - The end of the certificate validity period.
- not
Before Integer - The start of the certificate validity period.
- algorithm string
- The encryption algorithm of the certificate.
- cert
Identifier string - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - certificate
Id number - The ID of the certificate.
- certificate
Name string - The name of the certificate.
- certificate
Source string - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status string - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - common
Name string - The common name of the certificate.
- domain string
- All domain names covered by the certificate, separated by commas.
- exist
Private booleanKey - Indicates whether the private key of the certificate is held on the server side.
- finger
Print string - The public key fingerprint of the certificate.
- id number
- The ID of the resource supplied above.
- instance
Id string - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- issuer string
- The certificate authority that issued the certificate.
- key
Size number - The key length of the certificate algorithm.
- not
After number - The end of the certificate validity period.
- not
Before number - The start of the certificate validity period.
- algorithm str
- The encryption algorithm of the certificate.
- cert_
identifier str - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - certificate_
id int - The ID of the certificate.
- certificate_
name str - The name of the certificate.
- certificate_
source str - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate_
status str - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - common_
name str - The common name of the certificate.
- domain str
- All domain names covered by the certificate, separated by commas.
- exist_
private_ boolkey - Indicates whether the private key of the certificate is held on the server side.
- finger_
print str - The public key fingerprint of the certificate.
- id int
- The ID of the resource supplied above.
- instance_
id str - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- issuer str
- The certificate authority that issued the certificate.
- key_
size int - The key length of the certificate algorithm.
- not_
after int - The end of the certificate validity period.
- not_
before int - The start of the certificate validity period.
- algorithm String
- The encryption algorithm of the certificate.
- cert
Identifier String - The global certificate identifier, formatted as the certificate ID plus
-plus the site region ID. Alibaba Cloud services such as ALB, CDN and WAF reference a certificate by this value. - certificate
Id Number - The ID of the certificate.
- certificate
Name String - The name of the certificate.
- certificate
Source String - The source of the certificate. Valid values:
BUY,UPLOADandTEST. - certificate
Status String - The status of the certificate. Valid values:
issued,revoked,willExpireandexpired. - common
Name String - The common name of the certificate.
- domain String
- All domain names covered by the certificate, separated by commas.
- exist
Private BooleanKey - Indicates whether the private key of the certificate is held on the server side.
- finger
Print String - The public key fingerprint of the certificate.
- id Number
- The ID of the resource supplied above.
- instance
Id String - The ID of the certificate instance that issued the certificate. Use it to list the certificates a single instance has issued.
- issuer String
- The certificate authority that issued the certificate.
- key
Size Number - The key length of the certificate algorithm.
- not
After Number - The end of the certificate validity period.
- not
Before Number - The start of the certificate validity period.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi