Queries the details of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:GetInstanceDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cas_dv-cn-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InstanceId |
string |
The ID of the instance. |
cas_dv-cn-123 |
| InstanceType |
string |
The instance type. Valid values:
|
TEST |
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues. |
B2CE1D02-6D5E-56E5-A9BD-EE288255C7F9 |
| KeyAlgorithm |
string |
The certificate algorithm. Valid values:
|
RSA_2048 |
| Status |
string |
The instance status. Valid values:
|
inactive |
| Domain |
string |
The domain name bound to the certificate. |
example.com |
| CertificateId |
integer |
The certificate ID. |
1234567890 |
| CertificateName |
string |
The name of the instance. When a certificate is issued, this name is used as the default certificate name. |
123 |
| CertIdentifier |
string |
The global certificate ID, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services. --For the China site, the format is certificate ID + "-cn-hangzhou". For the China site, the format is certificate ID + "-ap-southeast-1". For example, if the certificate ID is 123, the CertIdentifier on the China site is "123-cn-hangzhou", and the CertIdentifier on the China site is "123-ap-southeast-1". |
22783111-cn-hangzhou |
| Spec |
string |
The purchased instance specification. |
ss.dv.t |
| CertificateType |
string |
The type of the certificate. Valid values: DV, OV, and EV. |
DV |
| CertificateStatus |
string |
The status of the certificate. Valid values:
|
issued |
| CertificateNotAfter |
integer |
The end time of the latest certificate. The value is a UNIX timestamp. This field is empty if no certificate has been issued. |
1801324800000 |
| CertificateNotBefore |
integer |
||
| OrderEndTime |
integer |
The end time of the instance purchase. The value is a UNIX timestamp. You can use this value to determine the purchase duration of the instance. |
1801324800000 |
| InstanceStartTime |
integer |
The start time of the instance. The value is a UNIX timestamp. If no certificate has been issued, this field is empty. |
1801324800000 |
| InstanceEndTime |
integer |
The expiration time of the instance. The value is a UNIX timestamp. If no certificate has been issued, this field is empty. |
1801324800000 |
| FullDomainCount |
integer |
The number of exact-match domain names. |
1 |
| WildcardDomainCount |
integer |
The number of wildcard domain names. |
0 |
| CompanyId |
integer |
The company information ID. |
47305 |
| ContactIdList |
array |
The list of contact IDs. |
|
|
integer |
The contact ID. |
123 |
|
| ResourceGroupId |
string |
The resource group ID. |
rg-aek****wia |
| DomainValidationList |
array<object> |
The list of domain names to be validated. |
|
|
object |
The domain name to be validated. |
||
| Domain |
string |
The domain name to be validated. |
example.com |
| RootDomain |
string |
The root domain name. |
example.com |
| ValidationType |
string |
The validation type. Valid values: TXT, HTTP, and CNAME. |
TXT |
| ValidationValue |
string |
The host record value for validation. |
123 |
| ValidationKey |
string |
The host record. |
@ |
| Cname |
string |
The CNAME record value for verification-free authorization. This field may be empty. |
123.com |
| CnameKey |
string |
The prefix for CNAME validation. |
abc |
| City |
string |
The city where the company or organization of the certificate purchaser is located. This field is required when generating a certificate signing request. Default value: Beijing. |
Beijing |
| Province |
string |
The province or region where the company is located. This field is required when generating a certificate signing request. Default value: Beijing. |
Beijing |
| CountryCode |
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 generating a certificate signing request. Default value: CN. |
CN |
| Csr |
string |
The certificate signing request in PEM format. |
-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST----- |
| ValidationMethod |
string |
The validation method for the certificate application. Valid values:
|
DNS |
| AverageWaitingTime |
string |
The average waiting time for issuing a certificate of this specification. Unit: seconds. |
120 |
| DingGroupList |
array<object> |
The list of associated expert service DingTalk groups. |
|
|
object |
The associated expert service DingTalk group. |
||
| DingGroupInstanceId |
string |
The instance ID of the expert service DingTalk group. |
123 |
| DingGroupName |
string |
The name of the expert service DingTalk group. |
123 |
| DingGroupType |
string |
The type of the expert service DingTalk group. Valid values:
|
remote |
| DingGroupUrl |
string |
The link to join the expert service DingTalk group. |
https://123.com |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The list of tags. |
||
| TagKey |
string |
The tag key. |
test |
| TagValue |
string |
The tag value. |
test |
| GenerateCsrMethod |
string |
The CSR generation method. Valid values:
|
online |
| AutoReissue |
string |
Specifies whether automatic managed renewal is enabled. Valid values:
|
enable |
| PendingResult |
string |
The result returned by the certification authority (CA) during the last certificate operation. |
pending |
| UpgradeStatus |
string |
The upgrade status of the instance. Valid values:
|
none |
| CertificateRevokeTime |
integer |
The revocation time of the latest certificate. The value is a UNIX timestamp. |
1801324800000 |
| Brand |
string |
The CA brand. Valid values: WoSign, CFCA, DigiCert, GeoTrust, GlobalSign, vTrus, and Alibaba. |
DigiCert |
| OrderStartTime |
integer |
The start time of the instance purchase. The value is a UNIX timestamp. You can use this value to determine the refund time limit. |
1801324800000 |
Examples
Success response
JSON format
{
"InstanceId": "cas_dv-cn-123",
"InstanceType": "TEST",
"RequestId": "B2CE1D02-6D5E-56E5-A9BD-EE288255C7F9",
"KeyAlgorithm": "RSA_2048",
"Status": "inactive",
"Domain": "example.com",
"CertificateId": 1234567890,
"CertificateName": "123",
"CertIdentifier": "22783111-cn-hangzhou",
"Spec": "ss.dv.t",
"CertificateType": "DV",
"CertificateStatus": "issued",
"CertificateNotAfter": 1801324800000,
"CertificateNotBefore": 0,
"OrderEndTime": 1801324800000,
"InstanceStartTime": 1801324800000,
"InstanceEndTime": 1801324800000,
"FullDomainCount": 1,
"WildcardDomainCount": 0,
"CompanyId": 47305,
"ContactIdList": [
123
],
"ResourceGroupId": "rg-aek****wia",
"DomainValidationList": [
{
"Domain": "example.com",
"RootDomain": "example.com",
"ValidationType": "TXT",
"ValidationValue": "123",
"ValidationKey": "@",
"Cname": "123.com",
"CnameKey": "abc"
}
],
"City": "Beijing",
"Province": "Beijing",
"CountryCode": "CN",
"Csr": "-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----",
"ValidationMethod": "DNS",
"AverageWaitingTime": "120",
"DingGroupList": [
{
"DingGroupInstanceId": "123",
"DingGroupName": "123",
"DingGroupType": "remote",
"DingGroupUrl": "https://123.com"
}
],
"Tags": [
{
"TagKey": "test",
"TagValue": "test"
}
],
"GenerateCsrMethod": "online",
"AutoReissue": "enable",
"PendingResult": "pending",
"UpgradeStatus": "none",
"CertificateRevokeTime": 1801324800000,
"Brand": "DigiCert",
"OrderStartTime": 1801324800000
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.