Cancela uma AutomationRun. O state do AutomationRun após o cancelamento é CANCELLED. automationRuns.cancel pode ser chamado em AutomationRun no estado IN_PROGRESS e PENDING. AutomationRun em um estado diferente retorna um erro FAILED_PRECONDITION.
Solicitação HTTP
POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel
Obrigatório. Nome da AutomationRun. O formato é projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/automationRuns/{automationRun}.
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for concluída, o corpo da resposta estará vazio.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-06-26 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."]]],[]]