Creates a certificate deployment task. After an SSL certificate is issued, you can create a certificate deployment task to immediately deploy the certificate to an Alibaba Cloud service or deploy the certificate to the service at a specific point in time. Then, the certificate can implement trusted identity authentication and ensure the security of data transmission for your website hosted on the service.
Operation description
After the task creation is completed, the task will be in the editing state. You need to call the UpdateDeploymentJobStatus interface to change the status to the pending state, otherwise the task will not be executed.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| yundun-cert:CreateDeploymentJob | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Name | string | Yes | The name of the deployment task. | jobName |
| JobType | string | Yes | The type of the deployment task. Valid values:
| user |
| CertIds | string | Yes | The ID of the certificate. Separate multiple certificate IDs with commas (,). You can call the ListUserCertificateOrder operation to obtain the IDs of certificates from the CertificateId parameter. | 12342649,12304338,12067351,9957285 |
| ResourceIds | string | Yes | The ID of the cloud resource. Separate multiple resource IDs with commas (,). You can call the ListCloudResources operation to obtain the IDs of cloud resources from the Id parameter. | 6591316,6585549,6190248,5811894,5775176,5772504 |
| ContactIds | string | Yes | The ID of the contact. Separate multiple contact IDs with commas (,). You can call the ListContact operation to obtain the IDs of contacts from the ContactId parameter. | 1,2 |
| ScheduleTime | long | No | The time when the task starts. The value is a UNIX timestamp. If you do not specify this parameter, the system immediately starts the task after the task is in the pending state. | 1706613560008 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"JobId": 8888
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
