Cancela un AutomationRun. El state de AutomationRun después de la cancelación es CANCELLED. Se puede llamar a automationRuns.cancel en AutomationRun en el estado IN_PROGRESS y PENDING. AutomationRun en un estado diferente mostrará un error FAILED_PRECONDITION.
Solicitud HTTP
POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel
Obligatorio. Es el nombre del AutomationRun. El formato es projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/automationRuns/{automationRun}.
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
Si se ejecuta correctamente, el cuerpo de la respuesta está vacío.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-06-25 (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."]]],[]]