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 |
Required. The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}" |
Query parameters
Parameters | |
---|---|
bare |
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]$/ |
validate |
Validate the request without actually doing any updates. |
allow |
Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster. |
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.