Method: projects.locations.bareMetalClusters.bareMetalNodePools.create

Creates a new bare metal node pool in a given project, location and Bare Metal cluster.

HTTP request

POST https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*/bareMetalClusters/*}/bareMetalNodePools

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}

Query parameters

Parameters
bareMetalNodePoolId

string

The ID to use for the node pool, which will become the final component of the node pool's resource name.

This value must be up to 63 characters, and valid characters are /[a-z][0-9]-/.

The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).

validateOnly

boolean

If set, only validate the request, but do not actually create the node pool.

Request body

The request body contains an instance of BareMetalNodePool.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.