Bricht einen AutomationRun ab. Der state des AutomationRun nach der Kündigung ist CANCELLED. automationRuns.cancel kann bei AutomationRun im Status IN_PROGRESS und PENDING aufgerufen werden. In einem anderen Status wird ein FAILED_PRECONDITION-Fehler zurückgegeben.
HTTP-Anfrage
POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel
Erforderlich. Name von AutomationRun. Das Format ist projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/automationRuns/{automationRun}.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-06-28 (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."]]],[]]