Erforderlich. Die AwsCluster-Ressource, in der dieser Knotenpool erstellt wird.
AwsCluster-Namen haben das Format projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.
Weitere Informationen zu Google Cloud-Ressourcennamen finden Sie unter Ressourcennamen.
Abfrageparameter
Parameter
awsNodePoolId
string
Erforderlich. Eine vom Kunden bereitgestellte ID der Ressource. Darf innerhalb der übergeordneten Ressource nur einmal vorkommen.
Die angegebene ID ist Teil des AwsNodePool-Ressourcennamens, der als projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-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 Knotenpool jedoch nicht erstellt.
Anfragetext
Der Anfragetext enthält eine Instanz von AwsNodePool.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte 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.awsClusters.awsNodePools.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\n| GKE-on-AWS is deprecated. See \u003chttps://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/deprecations/deprecation-announcement\u003e for more details.\nCreates a new [AwsNodePool](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters.awsNodePools#AwsNodePool), attached to a given [AwsCluster](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters#AwsCluster).\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/*/awsClusters/*}/awsNodePools`\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 [AwsNodePool](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.awsClusters.awsNodePools#AwsNodePool).\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.awsNodePools.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]