All Products
Search
Document Center

Certificate Management Service:DescribeDeploymentJob

Last Updated:Jul 31, 2024

Queries the details of a deployment task. You can call the CreateDeploymentJob operation to create a deployment task and obtain the ID of the task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdlongYes

The ID of the deployment job. The ID of the job is returned after you call the CreateDeploymentJob operation. You can also call the ListDeploymentJob operation to obtain the ID.

8888

Response parameters

ParameterTypeDescriptionExample
object

OpenApiDefaultResponse.

RequestIdstring

The request ID.

15C66C7B-671A-4297-9187-2C4477247A74
Idlong

The ID of the deployment job.

8888
GmtCreatestring

The time when the deployment job was created. The value is a UNIX timestamp. Unit: seconds.

1679541809000
GmtModifiedstring

The time when the deployment job was last modified. The value is a UNIX timestamp. Unit: seconds.

1679541809000
UserIdlong

The ID of the Alibaba Cloud account in which the deployment job is created.

166688437XXXX785
InstanceIdstring

The instance ID of the deployment task.

14dcc8afc7578e1f
Namestring

The name of the deployment task.

auto-test-AXX
CertTypestring

The type of the certificate. Valid values:

  • upload: uploaded certificate
  • buy: purchased certificate
  • free: free certificate available only on the China site (aliyun.com)
buy
ScheduleTimestring

The time when the deployment job was scheduled. The value is a UNIX timestamp. Unit: seconds.

1678083209335
StartTimestring

The start time of the deployment job. The value is a UNIX timestamp. Unit: seconds.

1679541809000
EndTimestring

The end time of the deployment job. The value is a UNIX timestamp. Unit: seconds.

1679541809000
Statusstring

The status of the deployment job. Valid values:

  • pending
  • editing
  • scheduling
  • processing
  • error
  • success
editing
Delinteger

Indicates whether the deployment job was deleted. Valid values:

  • 0: not deleted
  • 1: deleted
1
Rollbackinteger

Indicates whether the deployment job includes the rollback worker. For example, if a cloud service in a deployment job has been rolled back, 1 is returned. Valid values:

  • 0: The rollback worker is not included.
  • 1: The rollback worker is included.
1
JobTypestring

The type of the deployment job. Valid values:

  • cloud: multi-cloud deployment job.
  • trustee: hosted deployment job available only on the China site (aliyun.com).
  • user: cloud service deployment job. The cloud server is not included.
user
CertDomainstring

The domain names bound to the certificate of the deployment task.

example.aliyundoc.com,demo.aliyundoc.com
ProductNamestring

The cloud services included in the deployment task.

CDN
Configstring

The configurations of the deployment task.

{\"shareCertIds\":[],\"certIds\":[12342649,12304338,12067351,9957285]}
CasContactsarray<object>

The information about the contact.

object
Idstring

The ID of the contact.

3304
Namestring

The name of the contact.

zhangsan
Mobilestring

The phone number of the contact.

139****0000
Emailstring

The email address of the contact.

username@example.com

Examples

Sample success responses

JSONformat

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
  "Id": 8888,
  "GmtCreate": "1679541809000",
  "GmtModified": "1679541809000",
  "UserId": 0,
  "InstanceId": "14dcc8afc7578e1f",
  "Name": "auto-test-AXX",
  "CertType": "buy",
  "ScheduleTime": "1678083209335",
  "StartTime": "1679541809000",
  "EndTime": "1679541809000",
  "Status": "editing",
  "Del": 1,
  "Rollback": 1,
  "JobType": "user",
  "CertDomain": "example.aliyundoc.com,demo.aliyundoc.com",
  "ProductName": "CDN",
  "Config": "{\\\"shareCertIds\\\":[],\\\"certIds\\\":[12342649,12304338,12067351,9957285]}",
  "CasContacts": [
    {
      "Id": "3304",
      "Name": "zhangsan",
      "Mobile": "139****0000",
      "Email": "username@example.com"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.