Erforderlich. Der übergeordnete Speicherort, an dem diese AttachedCluster-Ressource erstellt wird.
Standortnamen haben das Format projects/<project-id>/locations/<region>.
Weitere Informationen zu Google Cloud-Ressourcennamen finden Sie unter Ressourcennamen.
Abfrageparameter
Parameter
attachedClusterId
string
Erforderlich. Eine vom Kunden bereitgestellte ID der Ressource. Darf innerhalb der übergeordneten Ressource nur einmal vorkommen.
Die angegebene ID ist Teil des AttachedCluster-Ressourcennamens, der als projects/<project-id>/locations/<region>/attachedClusters/<cluster-id> formatiert ist.
Gültige Zeichen sind /[a-z][0-9]-/. Darf nicht länger als 63 Zeichen sein.
validateOnly
boolean
Wenn diese Option festgelegt ist, wird die Anfrage nur validiert, der Cluster jedoch nicht erstellt.
[[["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.create\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\nCreates a new [AttachedCluster](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.attachedClusters#AttachedCluster) resource on a given Google Cloud Platform project and region.\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`POST https://{endpoint}/v1/{parent=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 contains an instance of [AttachedCluster](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.attachedClusters#AttachedCluster).\n\n### Response body\n\nIf successful, the response body contains a newly created 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 `parent` resource:\n\n- `gkemulticloud.attachedClusters.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]