Method: projects.locations.bareMetalClusters.create

Creates a new bare metal cluster in a given project and location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}"

Query parameters

Parameters
bareMetalClusterId

string

Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^[a-z][a-z0-9.-]+[a-z0-9]$/

validateOnly

boolean

Validate the request without actually doing any updates.

Request body

The request body contains an instance of BareMetalCluster.

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.