jobs.terminate

UCloud Developer Guide / Orchestration of Resources / Compute / Jobs

jobs.terminate

Request job cancellation and destruction

This call will request the cancellation of the associated jobs. This will make sure that the jobs are eventually stopped and resources are released. If the job is running a virtual machine, then the virtual machine will be stopped and destroyed. Persistent storage attached to the job will not be deleted only temporary data from the job will be deleted.

This call is asynchronous and the cancellation may not be immediately visible in the job. Progress can be followed using the jobs.retrieve, jobs.browse, jobs.follow calls.

Last updated