published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Provides a Certificate Management Service (Original SSL Certificate) Instance resource.
For information about Certificate Management Service (Original SSL Certificate) Instance and how to use it, see What is Instance.
NOTE: Available since v1.287.0.
NOTE: This resource manages the certificate instance — the purchased subscription slot that a certificate can later be issued into — and the certificate application details recorded on it. It does not submit the certificate application and does not issue a certificate. A newly created instance stays in the
inactivestate. Submitting the application against this instance is done withalicloud.sslcertificatesservicecertificate.Apply; publishing the domain validation records it reports, and waiting for the certificate authority to issue the certificate, are separate steps again.
NOTE: Creating this resource places a real prepaid subscription order through
BssOpenApi::CreateInstanceand is billed on creation. The available specifications and their prices differ per account; call DescribePricingModule withProductCodeandProductTypeset tocasto list what your account can order. Destroying the resource refunds the order when the instance is still protected, then deletes it.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstance("default", {
productType: "cas",
period: 12,
pricingCycle: 2,
instanceName: name,
parameters: [
{
code: "fullSpec",
value: "ws.dv.f",
},
{
code: "fullDomainCount",
value: "1",
},
],
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstance("default",
product_type="cas",
period=12,
pricing_cycle=2,
instance_name=name,
parameters=[
{
"code": "fullSpec",
"value": "ws.dv.f",
},
{
"code": "fullDomainCount",
"value": "1",
},
])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sslcertificatesserviceinstance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := sslcertificatesserviceinstance.NewSslCertificatesServiceInstance(ctx, "default", &sslcertificatesserviceinstance.SslCertificatesServiceInstanceArgs{
ProductType: pulumi.String("cas"),
Period: pulumi.Int(12),
PricingCycle: pulumi.Int(2),
InstanceName: pulumi.String(name),
Parameters: sslcertificatesserviceinstance.SslCertificatesServiceInstanceParameterArray{
&sslcertificatesserviceinstance.SslCertificatesServiceInstanceParameterArgs{
Code: pulumi.String("fullSpec"),
Value: pulumi.String("ws.dv.f"),
},
&sslcertificatesserviceinstance.SslCertificatesServiceInstanceParameterArgs{
Code: pulumi.String("fullDomainCount"),
Value: pulumi.String("1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.SslCertificatesServiceInstance.SslCertificatesServiceInstance("default", new()
{
ProductType = "cas",
Period = 12,
PricingCycle = 2,
InstanceName = name,
Parameters = new[]
{
new AliCloud.sslCertificatesServiceInstance.Inputs.SslCertificatesServiceInstanceParameterArgs
{
Code = "fullSpec",
Value = "ws.dv.f",
},
new AliCloud.sslCertificatesServiceInstance.Inputs.SslCertificatesServiceInstanceParameterArgs
{
Code = "fullDomainCount",
Value = "1",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstance;
import com.pulumi.alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstanceArgs;
import com.pulumi.alicloud.sslcertificatesserviceinstance.inputs.SslCertificatesServiceInstanceParameterArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new SslCertificatesServiceInstance("default", SslCertificatesServiceInstanceArgs.builder()
.productType("cas")
.period(12)
.pricingCycle(2)
.instanceName(name)
.parameters(
SslCertificatesServiceInstanceParameterArgs.builder()
.code("fullSpec")
.value("ws.dv.f")
.build(),
SslCertificatesServiceInstanceParameterArgs.builder()
.code("fullDomainCount")
.value("1")
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:sslcertificatesserviceinstance:SslCertificatesServiceInstance
properties:
productType: cas
period: 12
pricingCycle: 2
instanceName: ${name}
parameters:
- code: fullSpec
value: ws.dv.f
- code: fullDomainCount
value: '1'
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_sslcertificatesserviceinstance_sslcertificatesserviceinstance" "default" {
product_type = "cas"
period = 12
pricing_cycle = 2
instance_name = var.name
parameters {
code = "fullSpec"
value = "ws.dv.f"
}
parameters {
code = "fullDomainCount"
value = "1"
}
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create SslCertificatesServiceInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SslCertificatesServiceInstance(name: string, args?: SslCertificatesServiceInstanceArgs, opts?: CustomResourceOptions);@overload
def SslCertificatesServiceInstance(resource_name: str,
args: Optional[SslCertificatesServiceInstanceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SslCertificatesServiceInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_reissue: Optional[str] = None,
company_id: Optional[str] = None,
contact_id_lists: Optional[Sequence[int]] = None,
country_code: Optional[str] = None,
csr: Optional[str] = None,
domain: Optional[str] = None,
generate_csr_method: Optional[str] = None,
instance_name: Optional[str] = None,
key_algorithm: Optional[str] = None,
parameters: Optional[Sequence[SslCertificatesServiceInstanceParameterArgs]] = None,
period: Optional[int] = None,
pricing_cycle: Optional[int] = None,
product_type: Optional[str] = None,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
validation_method: Optional[str] = None)func NewSslCertificatesServiceInstance(ctx *Context, name string, args *SslCertificatesServiceInstanceArgs, opts ...ResourceOption) (*SslCertificatesServiceInstance, error)public SslCertificatesServiceInstance(string name, SslCertificatesServiceInstanceArgs? args = null, CustomResourceOptions? opts = null)
public SslCertificatesServiceInstance(String name, SslCertificatesServiceInstanceArgs args)
public SslCertificatesServiceInstance(String name, SslCertificatesServiceInstanceArgs args, CustomResourceOptions options)
type: alicloud:sslcertificatesserviceinstance:SslCertificatesServiceInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_sslcertificatesserviceinstance_ssl_certificates_service_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SslCertificatesServiceInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SslCertificatesServiceInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SslCertificatesServiceInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SslCertificatesServiceInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SslCertificatesServiceInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sslCertificatesServiceInstanceResource = new AliCloud.SslCertificatesServiceInstance.SslCertificatesServiceInstance("sslCertificatesServiceInstanceResource", new()
{
AutoReissue = "string",
CompanyId = "string",
ContactIdLists = new[]
{
0,
},
CountryCode = "string",
Csr = "string",
Domain = "string",
GenerateCsrMethod = "string",
InstanceName = "string",
KeyAlgorithm = "string",
Parameters = new[]
{
new AliCloud.sslCertificatesServiceInstance.Inputs.SslCertificatesServiceInstanceParameterArgs
{
Code = "string",
Value = "string",
},
},
Period = 0,
PricingCycle = 0,
ProductType = "string",
ResourceGroupId = "string",
Tags =
{
{ "string", "string" },
},
ValidationMethod = "string",
});
example, err := sslcertificatesserviceinstance.NewSslCertificatesServiceInstance(ctx, "sslCertificatesServiceInstanceResource", &sslcertificatesserviceinstance.SslCertificatesServiceInstanceArgs{
AutoReissue: pulumi.String("string"),
CompanyId: pulumi.String("string"),
ContactIdLists: pulumi.IntArray{
pulumi.Int(0),
},
CountryCode: pulumi.String("string"),
Csr: pulumi.String("string"),
Domain: pulumi.String("string"),
GenerateCsrMethod: pulumi.String("string"),
InstanceName: pulumi.String("string"),
KeyAlgorithm: pulumi.String("string"),
Parameters: sslcertificatesserviceinstance.SslCertificatesServiceInstanceParameterArray{
&sslcertificatesserviceinstance.SslCertificatesServiceInstanceParameterArgs{
Code: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Period: pulumi.Int(0),
PricingCycle: pulumi.Int(0),
ProductType: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValidationMethod: pulumi.String("string"),
})
resource "alicloud_sslcertificatesserviceinstance_ssl_certificates_service_instance" "sslCertificatesServiceInstanceResource" {
lifecycle {
create_before_destroy = true
}
auto_reissue = "string"
company_id = "string"
contact_id_lists = [0]
country_code = "string"
csr = "string"
domain = "string"
generate_csr_method = "string"
instance_name = "string"
key_algorithm = "string"
parameters {
code = "string"
value = "string"
}
period = 0
pricing_cycle = 0
product_type = "string"
resource_group_id = "string"
tags = {
"string" = "string"
}
validation_method = "string"
}
var sslCertificatesServiceInstanceResource = new SslCertificatesServiceInstance("sslCertificatesServiceInstanceResource", SslCertificatesServiceInstanceArgs.builder()
.autoReissue("string")
.companyId("string")
.contactIdLists(0)
.countryCode("string")
.csr("string")
.domain("string")
.generateCsrMethod("string")
.instanceName("string")
.keyAlgorithm("string")
.parameters(SslCertificatesServiceInstanceParameterArgs.builder()
.code("string")
.value("string")
.build())
.period(0)
.pricingCycle(0)
.productType("string")
.resourceGroupId("string")
.tags(Map.of("string", "string"))
.validationMethod("string")
.build());
ssl_certificates_service_instance_resource = alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstance("sslCertificatesServiceInstanceResource",
auto_reissue="string",
company_id="string",
contact_id_lists=[0],
country_code="string",
csr="string",
domain="string",
generate_csr_method="string",
instance_name="string",
key_algorithm="string",
parameters=[{
"code": "string",
"value": "string",
}],
period=0,
pricing_cycle=0,
product_type="string",
resource_group_id="string",
tags={
"string": "string",
},
validation_method="string")
const sslCertificatesServiceInstanceResource = new alicloud.sslcertificatesserviceinstance.SslCertificatesServiceInstance("sslCertificatesServiceInstanceResource", {
autoReissue: "string",
companyId: "string",
contactIdLists: [0],
countryCode: "string",
csr: "string",
domain: "string",
generateCsrMethod: "string",
instanceName: "string",
keyAlgorithm: "string",
parameters: [{
code: "string",
value: "string",
}],
period: 0,
pricingCycle: 0,
productType: "string",
resourceGroupId: "string",
tags: {
string: "string",
},
validationMethod: "string",
});
type: alicloud:sslcertificatesserviceinstance:SslCertificatesServiceInstance
properties:
autoReissue: string
companyId: string
contactIdLists:
- 0
countryCode: string
csr: string
domain: string
generateCsrMethod: string
instanceName: string
keyAlgorithm: string
parameters:
- code: string
value: string
period: 0
pricingCycle: 0
productType: string
resourceGroupId: string
tags:
string: string
validationMethod: string
SslCertificatesServiceInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SslCertificatesServiceInstance resource accepts the following input properties:
- Auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- Company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- Contact
Id List<int>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- Country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- Csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- Domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- Generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- Instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- Key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- Parameters
List<Pulumi.
Ali Cloud.ssl Certificates Service Instance. Inputs. Ssl Certificates Service Instance Parameter> The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Pricing
Cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- The list of tags.
- Validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- Auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- Company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- Contact
Id []intLists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- Country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- Csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- Domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- Generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- Instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- Key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- Parameters
[]Ssl
Certificates Service Instance Parameter Args The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Pricing
Cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Resource
Group stringId - The ID of the resource group.
- map[string]string
- The list of tags.
- Validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- auto_
reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- company_
id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact_
id_ list(number)lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country_
code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- generate_
csr_ stringmethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance_
name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- key_
algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- parameters list(object)
The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing_
cycle number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product_
type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- resource_
group_ stringid - The ID of the resource group.
- map(string)
- The list of tags.
- validation_
method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- auto
Reissue String Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- company
Id String The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id List<Integer>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code String - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr String
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain String
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- generate
Csr StringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
Name String - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- key
Algorithm String - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- parameters
List<Ssl
Certificates Service Instance Parameter> The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period Integer
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle Integer The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type String The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- resource
Group StringId - The ID of the resource group.
- Map<String,String>
- The list of tags.
- validation
Method String - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id number[]Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- parameters
Ssl
Certificates Service Instance Parameter[] The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- The list of tags.
- validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- auto_
reissue str Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- company_
id str The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact_
id_ Sequence[int]lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country_
code str - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr str
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain str
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- generate_
csr_ strmethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance_
name str - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- key_
algorithm str - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- parameters
Sequence[Ssl
Certificates Service Instance Parameter Args] The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing_
cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product_
type str The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- The list of tags.
- validation_
method str - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- auto
Reissue String Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- company
Id String The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id List<Number>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code String - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr String
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain String
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- generate
Csr StringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
Name String - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- key
Algorithm String - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- parameters List<Property Map>
The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period Number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle Number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type String The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- resource
Group StringId - The ID of the resource group.
- Map<String>
- The list of tags.
- validation
Method String - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
Outputs
All input properties are implicitly available as output properties. Additionally, the SslCertificatesServiceInstance resource produces the following output properties:
- Average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- Brand string
- The certificate brand.
- Certificate
Type string - The type of the certificate.
- City string
- The city of the address recorded on the instance.
- Full
Domain intCount - The number of single domain names included in the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
End intTime - Instance expiration time, a UNIX timestamp in seconds.
- Instance
Start intTime - Instance start time, a UNIX timestamp in seconds.
- Instance
Type string - The instance type.
- Order
End intTime - Order end time, a UNIX timestamp in seconds.
- Order
Start intTime - Order start time, a UNIX timestamp in seconds.
- Province string
- The province or region of the address recorded on the instance.
- Spec string
- The specification of the purchased instance.
- Status string
- The instance status.
- Upgrade
Status string - The upgrade status of the instance.
- Wildcard
Domain intCount - The number of wildcard domain names included in the instance.
- Average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- Brand string
- The certificate brand.
- Certificate
Type string - The type of the certificate.
- City string
- The city of the address recorded on the instance.
- Full
Domain intCount - The number of single domain names included in the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
End intTime - Instance expiration time, a UNIX timestamp in seconds.
- Instance
Start intTime - Instance start time, a UNIX timestamp in seconds.
- Instance
Type string - The instance type.
- Order
End intTime - Order end time, a UNIX timestamp in seconds.
- Order
Start intTime - Order start time, a UNIX timestamp in seconds.
- Province string
- The province or region of the address recorded on the instance.
- Spec string
- The specification of the purchased instance.
- Status string
- The instance status.
- Upgrade
Status string - The upgrade status of the instance.
- Wildcard
Domain intCount - The number of wildcard domain names included in the instance.
- average_
waiting_ stringtime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand string
- The certificate brand.
- certificate_
type string - The type of the certificate.
- city string
- The city of the address recorded on the instance.
- full_
domain_ numbercount - The number of single domain names included in the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instance_
end_ numbertime - Instance expiration time, a UNIX timestamp in seconds.
- instance_
start_ numbertime - Instance start time, a UNIX timestamp in seconds.
- instance_
type string - The instance type.
- order_
end_ numbertime - Order end time, a UNIX timestamp in seconds.
- order_
start_ numbertime - Order start time, a UNIX timestamp in seconds.
- province string
- The province or region of the address recorded on the instance.
- spec string
- The specification of the purchased instance.
- status string
- The instance status.
- upgrade_
status string - The upgrade status of the instance.
- wildcard_
domain_ numbercount - The number of wildcard domain names included in the instance.
- average
Waiting StringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand String
- The certificate brand.
- certificate
Type String - The type of the certificate.
- city String
- The city of the address recorded on the instance.
- full
Domain IntegerCount - The number of single domain names included in the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
End IntegerTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Start IntegerTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type String - The instance type.
- order
End IntegerTime - Order end time, a UNIX timestamp in seconds.
- order
Start IntegerTime - Order start time, a UNIX timestamp in seconds.
- province String
- The province or region of the address recorded on the instance.
- spec String
- The specification of the purchased instance.
- status String
- The instance status.
- upgrade
Status String - The upgrade status of the instance.
- wildcard
Domain IntegerCount - The number of wildcard domain names included in the instance.
- average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand string
- The certificate brand.
- certificate
Type string - The type of the certificate.
- city string
- The city of the address recorded on the instance.
- full
Domain numberCount - The number of single domain names included in the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
End numberTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Start numberTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type string - The instance type.
- order
End numberTime - Order end time, a UNIX timestamp in seconds.
- order
Start numberTime - Order start time, a UNIX timestamp in seconds.
- province string
- The province or region of the address recorded on the instance.
- spec string
- The specification of the purchased instance.
- status string
- The instance status.
- upgrade
Status string - The upgrade status of the instance.
- wildcard
Domain numberCount - The number of wildcard domain names included in the instance.
- average_
waiting_ strtime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand str
- The certificate brand.
- certificate_
type str - The type of the certificate.
- city str
- The city of the address recorded on the instance.
- full_
domain_ intcount - The number of single domain names included in the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
end_ inttime - Instance expiration time, a UNIX timestamp in seconds.
- instance_
start_ inttime - Instance start time, a UNIX timestamp in seconds.
- instance_
type str - The instance type.
- order_
end_ inttime - Order end time, a UNIX timestamp in seconds.
- order_
start_ inttime - Order start time, a UNIX timestamp in seconds.
- province str
- The province or region of the address recorded on the instance.
- spec str
- The specification of the purchased instance.
- status str
- The instance status.
- upgrade_
status str - The upgrade status of the instance.
- wildcard_
domain_ intcount - The number of wildcard domain names included in the instance.
- average
Waiting StringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand String
- The certificate brand.
- certificate
Type String - The type of the certificate.
- city String
- The city of the address recorded on the instance.
- full
Domain NumberCount - The number of single domain names included in the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
End NumberTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Start NumberTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type String - The instance type.
- order
End NumberTime - Order end time, a UNIX timestamp in seconds.
- order
Start NumberTime - Order start time, a UNIX timestamp in seconds.
- province String
- The province or region of the address recorded on the instance.
- spec String
- The specification of the purchased instance.
- status String
- The instance status.
- upgrade
Status String - The upgrade status of the instance.
- wildcard
Domain NumberCount - The number of wildcard domain names included in the instance.
Look up Existing SslCertificatesServiceInstance Resource
Get an existing SslCertificatesServiceInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SslCertificatesServiceInstanceState, opts?: CustomResourceOptions): SslCertificatesServiceInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_reissue: Optional[str] = None,
average_waiting_time: Optional[str] = None,
brand: Optional[str] = None,
certificate_type: Optional[str] = None,
city: Optional[str] = None,
company_id: Optional[str] = None,
contact_id_lists: Optional[Sequence[int]] = None,
country_code: Optional[str] = None,
csr: Optional[str] = None,
domain: Optional[str] = None,
full_domain_count: Optional[int] = None,
generate_csr_method: Optional[str] = None,
instance_end_time: Optional[int] = None,
instance_name: Optional[str] = None,
instance_start_time: Optional[int] = None,
instance_type: Optional[str] = None,
key_algorithm: Optional[str] = None,
order_end_time: Optional[int] = None,
order_start_time: Optional[int] = None,
parameters: Optional[Sequence[SslCertificatesServiceInstanceParameterArgs]] = None,
period: Optional[int] = None,
pricing_cycle: Optional[int] = None,
product_type: Optional[str] = None,
province: Optional[str] = None,
resource_group_id: Optional[str] = None,
spec: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
upgrade_status: Optional[str] = None,
validation_method: Optional[str] = None,
wildcard_domain_count: Optional[int] = None) -> SslCertificatesServiceInstancefunc GetSslCertificatesServiceInstance(ctx *Context, name string, id IDInput, state *SslCertificatesServiceInstanceState, opts ...ResourceOption) (*SslCertificatesServiceInstance, error)public static SslCertificatesServiceInstance Get(string name, Input<string> id, SslCertificatesServiceInstanceState? state, CustomResourceOptions? opts = null)public static SslCertificatesServiceInstance get(String name, Output<String> id, SslCertificatesServiceInstanceState state, CustomResourceOptions options)resources: _: type: alicloud:sslcertificatesserviceinstance:SslCertificatesServiceInstance get: id: ${id}import {
to = alicloud_sslcertificatesserviceinstance_ssl_certificates_service_instance.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- Average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- Brand string
- The certificate brand.
- Certificate
Type string - The type of the certificate.
- City string
- The city of the address recorded on the instance.
- Company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- Contact
Id List<int>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- Country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- Csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- Domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- Full
Domain intCount - The number of single domain names included in the instance.
- Generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- Instance
End intTime - Instance expiration time, a UNIX timestamp in seconds.
- Instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- Instance
Start intTime - Instance start time, a UNIX timestamp in seconds.
- Instance
Type string - The instance type.
- Key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- Order
End intTime - Order end time, a UNIX timestamp in seconds.
- Order
Start intTime - Order start time, a UNIX timestamp in seconds.
- Parameters
List<Pulumi.
Ali Cloud.ssl Certificates Service Instance. Inputs. Ssl Certificates Service Instance Parameter> The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Pricing
Cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Province string
- The province or region of the address recorded on the instance.
- Resource
Group stringId - The ID of the resource group.
- Spec string
- The specification of the purchased instance.
- Status string
- The instance status.
- Dictionary<string, string>
- The list of tags.
- Upgrade
Status string - The upgrade status of the instance.
- Validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- Wildcard
Domain intCount - The number of wildcard domain names included in the instance.
- Auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- Average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- Brand string
- The certificate brand.
- Certificate
Type string - The type of the certificate.
- City string
- The city of the address recorded on the instance.
- Company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- Contact
Id []intLists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- Country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- Csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- Domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- Full
Domain intCount - The number of single domain names included in the instance.
- Generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- Instance
End intTime - Instance expiration time, a UNIX timestamp in seconds.
- Instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- Instance
Start intTime - Instance start time, a UNIX timestamp in seconds.
- Instance
Type string - The instance type.
- Key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- Order
End intTime - Order end time, a UNIX timestamp in seconds.
- Order
Start intTime - Order start time, a UNIX timestamp in seconds.
- Parameters
[]Ssl
Certificates Service Instance Parameter Args The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Pricing
Cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- Product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- Province string
- The province or region of the address recorded on the instance.
- Resource
Group stringId - The ID of the resource group.
- Spec string
- The specification of the purchased instance.
- Status string
- The instance status.
- map[string]string
- The list of tags.
- Upgrade
Status string - The upgrade status of the instance.
- Validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- Wildcard
Domain intCount - The number of wildcard domain names included in the instance.
- auto_
reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- average_
waiting_ stringtime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand string
- The certificate brand.
- certificate_
type string - The type of the certificate.
- city string
- The city of the address recorded on the instance.
- company_
id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact_
id_ list(number)lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country_
code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- full_
domain_ numbercount - The number of single domain names included in the instance.
- generate_
csr_ stringmethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance_
end_ numbertime - Instance expiration time, a UNIX timestamp in seconds.
- instance_
name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- instance_
start_ numbertime - Instance start time, a UNIX timestamp in seconds.
- instance_
type string - The instance type.
- key_
algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- order_
end_ numbertime - Order end time, a UNIX timestamp in seconds.
- order_
start_ numbertime - Order start time, a UNIX timestamp in seconds.
- parameters list(object)
The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing_
cycle number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product_
type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- province string
- The province or region of the address recorded on the instance.
- resource_
group_ stringid - The ID of the resource group.
- spec string
- The specification of the purchased instance.
- status string
- The instance status.
- map(string)
- The list of tags.
- upgrade_
status string - The upgrade status of the instance.
- validation_
method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- wildcard_
domain_ numbercount - The number of wildcard domain names included in the instance.
- auto
Reissue String Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- average
Waiting StringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand String
- The certificate brand.
- certificate
Type String - The type of the certificate.
- city String
- The city of the address recorded on the instance.
- company
Id String The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id List<Integer>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code String - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr String
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain String
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- full
Domain IntegerCount - The number of single domain names included in the instance.
- generate
Csr StringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
End IntegerTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Name String - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- instance
Start IntegerTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type String - The instance type.
- key
Algorithm String - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- order
End IntegerTime - Order end time, a UNIX timestamp in seconds.
- order
Start IntegerTime - Order start time, a UNIX timestamp in seconds.
- parameters
List<Ssl
Certificates Service Instance Parameter> The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period Integer
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle Integer The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type String The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- province String
- The province or region of the address recorded on the instance.
- resource
Group StringId - The ID of the resource group.
- spec String
- The specification of the purchased instance.
- status String
- The instance status.
- Map<String,String>
- The list of tags.
- upgrade
Status String - The upgrade status of the instance.
- validation
Method String - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- wildcard
Domain IntegerCount - The number of wildcard domain names included in the instance.
- auto
Reissue string Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- average
Waiting stringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand string
- The certificate brand.
- certificate
Type string - The type of the certificate.
- city string
- The city of the address recorded on the instance.
- company
Id string The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id number[]Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code string - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr string
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain string
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- full
Domain numberCount - The number of single domain names included in the instance.
- generate
Csr stringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
End numberTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Name string - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- instance
Start numberTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type string - The instance type.
- key
Algorithm string - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- order
End numberTime - Order end time, a UNIX timestamp in seconds.
- order
Start numberTime - Order start time, a UNIX timestamp in seconds.
- parameters
Ssl
Certificates Service Instance Parameter[] The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type string The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- province string
- The province or region of the address recorded on the instance.
- resource
Group stringId - The ID of the resource group.
- spec string
- The specification of the purchased instance.
- status string
- The instance status.
- {[key: string]: string}
- The list of tags.
- upgrade
Status string - The upgrade status of the instance.
- validation
Method string - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- wildcard
Domain numberCount - The number of wildcard domain names included in the instance.
- auto_
reissue str Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- average_
waiting_ strtime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand str
- The certificate brand.
- certificate_
type str - The type of the certificate.
- city str
- The city of the address recorded on the instance.
- company_
id str The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact_
id_ Sequence[int]lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country_
code str - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr str
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain str
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- full_
domain_ intcount - The number of single domain names included in the instance.
- generate_
csr_ strmethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance_
end_ inttime - Instance expiration time, a UNIX timestamp in seconds.
- instance_
name str - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- instance_
start_ inttime - Instance start time, a UNIX timestamp in seconds.
- instance_
type str - The instance type.
- key_
algorithm str - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- order_
end_ inttime - Order end time, a UNIX timestamp in seconds.
- order_
start_ inttime - Order start time, a UNIX timestamp in seconds.
- parameters
Sequence[Ssl
Certificates Service Instance Parameter Args] The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period int
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing_
cycle int The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product_
type str The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- province str
- The province or region of the address recorded on the instance.
- resource_
group_ strid - The ID of the resource group.
- spec str
- The specification of the purchased instance.
- status str
- The instance status.
- Mapping[str, str]
- The list of tags.
- upgrade_
status str - The upgrade status of the instance.
- validation_
method str - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- wildcard_
domain_ intcount - The number of wildcard domain names included in the instance.
- auto
Reissue String Specifies whether to enable managed renewal. enable: Enabled disable: Disabled
NOTE: When managed renewal is enabled, the certificate authority issues a new certificate for the instance instead of extending the existing one. The renewed certificate has a different certificate ID and certificate identifier, so any value read from this instance or referenced by downstream resources changes after a renewal. Make sure the resources that consume the certificate take their value from the certificate attributes rather than from a hardcoded ID.
- average
Waiting StringTime - Average waiting time for issuing a certificate of this specification, in seconds.
- brand String
- The certificate brand.
- certificate
Type String - The type of the certificate.
- city String
- The city of the address recorded on the instance.
- company
Id String The company information ID. Required for OV and EV certificates — without it the certificate application cannot be submitted for this instance.
NOTE: The address recorded on the instance —
cityandprovince— comes from the company referenced bycompanyId, and from a server-side default when no company is referenced. Certificate authorities reject non-standard addresses, so the address is taken from the company record rather than accepted per instance; set it onalicloud.sslcertificatesservice.Companyinstead. Both attributes are read-only here.- contact
Id List<Number>Lists - The list of contact IDs. At least one contact ID is required, otherwise the certificate application cannot be submitted for this instance.
- country
Code String - The code of the country or region where the certificate organization is located. For example, CN indicates China and US indicates the United States. This field is required when a Certificate Signing Request (CSR) is generated for a DV certificate. The default value is CN.
- csr String
- The CSR content. You can generate a CSR by using OpenSSL or Keytool. For more information, see How to create a CSR file.
- domain String
The domain names to be bound to the certificate. Specific requirements are as follows:
- You can specify a single domain name or a wildcard domain name (such as
*.aliyundoc.com). - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether free domain names are provided is determined based on the first domain name.
NOTE: When you bind multiple domain names to a certificate, this parameter is required. This parameter and
csrcannot both be empty.NOTE: Which of
domainandcsris authoritative depends ongenerateCsrMethod:generateCsrMethodWhich value wins onlineThe system generates the CSR and domainis used as you set it. Leavecsrunset; the generated value is read back into state.uploadThe domain is taken from the CNfield of the CSR you upload, so leavedomainunset and let it be read back from the certificate. Setting it to a value that disagrees with the CSR is rejected by the API.- You can specify a single domain name or a wildcard domain name (such as
- full
Domain NumberCount - The number of single domain names included in the instance.
- generate
Csr StringMethod - The method used to generate the Certificate Signing Request (CSR). Default value: online. online: The system generates the CSR. In this case, the Csr parameter is ignored. upload: You upload the CSR. In this case, the Csr parameter is required.
- instance
End NumberTime - Instance expiration time, a UNIX timestamp in seconds.
- instance
Name String - The name of the instance. When a certificate is issued, this value is used as the default name of the certificate.
- instance
Start NumberTime - Instance start time, a UNIX timestamp in seconds.
- instance
Type String - The instance type.
- key
Algorithm String - The certificate algorithm. Default value: RSA_2048.
RSA_2048RSA_3072RSA_4096ECC_256SM2
- order
End NumberTime - Order end time, a UNIX timestamp in seconds.
- order
Start NumberTime - Order start time, a UNIX timestamp in seconds.
- parameters List<Property Map>
The list of modules. See
parameterbelow.NOTE: This parameter is immutable. Changing it after creation has no effect.
- period Number
The subscription period. Unit: months. For products billed on a yearly basis, enter an integer multiple of 12.
NOTE: This parameter is immutable. Changing it after creation has no effect.
- pricing
Cycle Number The unit of the subscription period.
- PricingCycle=1: The unit of the subscription period is year.
- PricingCycle=2: The unit of the subscription period is month.
- PricingCycle=3: The unit of the subscription period is day.
Default value: PricingCycle=2
This parameter applies only to specific product types (ProductType is ddos_originpre_public_cn, ddosDip, ddoscoo, ddos_originpre_public_intl, ddosDip_intl, or ddoscoo_intl).
NOTE: This parameter is immutable. Changing it after creation has no effect.
- product
Type String The product type. Valid values:
cas(China site) andcasIntl(international site). Defaults tocasIntlfor international accounts andcasotherwise.NOTE: This parameter is immutable. Changing it after creation has no effect.
- province String
- The province or region of the address recorded on the instance.
- resource
Group StringId - The ID of the resource group.
- spec String
- The specification of the purchased instance.
- status String
- The instance status.
- Map<String>
- The list of tags.
- upgrade
Status String - The upgrade status of the instance.
- validation
Method String - The verification method for the certificate application. DNS: DNS verification, using TXT or CNAME records. HTTP: File verification.
- wildcard
Domain NumberCount - The number of wildcard domain names included in the instance.
Supporting Types
SslCertificatesServiceInstanceParameter, SslCertificatesServiceInstanceParameterArgs
- Code string
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - Value string
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- Code string
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - Value string
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- code string
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - value string
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- code String
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - value String
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- code string
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - value string
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- code str
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - value str
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
- code String
- The module code. Common values are
fullSpec(certificate brand and grade for a single-domain certificate),wildcardSpec(the same for a wildcard certificate),fullDomainCount(number of single domain names) andwildcardDomainCount(number of wildcard domain names). - value String
The value of the module identified by
code. For the domain-count modules this is an integer from 1 to 150. ForfullSpecandwildcardSpecthis is a specification code such asws.dv.f.Specification codes accepted by
fullSpecfollow abrand.grade.typepattern, for example:Value Brand Grade ws.dv.fWoSign DV rap.dv.fRapid DV vt.dv.f/vt.ov.fvTrus DV / OV cf.ov.f/cf.ev.fCFCA OV / EV gs.dv.f/gs.ov.fGlobalSign DV / OV geo.dv.f/geo.ov.f/geo.ev.fGeoTrust DV / OV / EV ss.ov.f/ss.ev.fDigiCert OV / EV NOTE: The list above is a snapshot and is not exhaustive. Specifications, prices and availability differ per account and change over time. Call DescribePricingModule with
ProductCodeandProductTypeset tocasto get the values your account can actually order.
Import
Certificate Management Service (Original SSL Certificate) Instance can be imported using the id, e.g.
$ pulumi import alicloud:sslcertificatesserviceinstance/sslCertificatesServiceInstance:SslCertificatesServiceInstance example <instance_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Monday, Aug 24, 2026 by Pulumi