Erforderlich. Der Ressourcenname der zu löschenden AttachedCluster.
AttachedCluster-Namen haben das Format projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.
Weitere Informationen zu Google Cloud-Ressourcennamen finden Sie unter Ressourcennamen.
Abfrageparameter
Parameter
validateOnly
boolean
Wenn diese Option festgelegt ist, wird die Anfrage nur validiert, die Ressource jedoch nicht gelöscht.
allowMissing
boolean
Wenn diese Option auf „true“ gesetzt ist und die AttachedCluster-Ressource nicht gefunden wird, ist die Anfrage erfolgreich, es wird jedoch keine Aktion auf dem Server ausgeführt und eine fertige Operation wird zurückgegeben.
Nützlich für idempotentes Löschen.
ignoreErrors
boolean
Wenn diese Option auf „wahr“ festgelegt ist, wird die AttachedCluster-Ressource auch dann gelöscht, wenn beim Löschen in Clusterressourcen Fehler auftreten. Die Verwendung dieses Parameters kann zu verwaisten Ressourcen im Cluster führen.
Ermöglicht Clients durch optimistische Nebenläufigkeitserkennung, Löschvorgänge auszuführen.
Wenn das angegebene etag nicht mit dem aktuellen etag des Clusters übereinstimmt, schlägt die Anfrage fehl und es wird der Fehler ABORTED zurückgegeben.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation.
[[["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: 2025-06-24 (UTC)."],[],[],null,["# Method: projects.locations.attachedClusters.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nDeletes a specific [AttachedCluster](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.attachedClusters#AttachedCluster) resource.\n\nIf successful, the response contains a newly created [Operation](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.operations#Operation) resource that can be described to track the status of the operation.\n\n### HTTP request\n\n`DELETE https://{endpoint}/v1/{name=projects/*/locations/*/attachedClusters/*}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/kubernetes-engine/multi-cloud/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `gkemulticloud.attachedClusters.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]