Creates a certificate deployment task to deploy an SSL certificate to one or more Alibaba Cloud services immediately or at a scheduled time.
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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:CreateDeploymentJob |
create |
*All Resource
|
None | 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:
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 |
integer |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiDefaultResponse. |
||
| RequestId |
string |
The request ID. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| JobId |
integer |
The ID of the deployment task. |
8888 |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"JobId": 8888
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.