Annulla un'esecuzione dell'automazione. Il state di AutomationRun dopo l'annullamento è CANCELLED. automationRuns.cancel può essere chiamato su AutomationRun nello stato IN_PROGRESS e PENDING; AutomationRun in uno stato diverso restituisce un errore FAILED_PRECONDITION.
Richiesta HTTP
POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel
Obbligatorio. Nome di AutomationRun. Il formato è projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/automationRuns/{automationRun}.
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta è vuoto.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-06-27 UTC."],[[["This webpage details how to cancel an `AutomationRun`, which, upon successful cancellation, will have its state set to `CANCELLED`."],["The `automationRuns.cancel` action is only applicable to `AutomationRun` instances in either `IN_PROGRESS` or `PENDING` states, and attempting to cancel an instance in a different state will result in a `FAILED_PRECONDITION` error."],["Cancelling an `AutomationRun` is accomplished through an HTTP POST request to a specific URL, which is structured using gRPC Transcoding syntax."],["The request requires a `name` path parameter indicating the specific `AutomationRun` to be cancelled and an empty request body."],["The process requires the `clouddeploy.automationRuns.cancel` IAM permission on the target resource and `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]