Method: projects.locations.clusters.create

Creates a new Cluster in a given project and location.

HTTP request

POST https://edgecontainer.googleapis.com/v1/{parent=projects/*/locations/*}/clusters

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent location where this cluster will be created.

Authorization requires the following IAM permission on the specified resource parent:

  • edgecontainer.clusters.create

Query parameters

Parameters
clusterId

string

Required. A client-specified unique identifier for the cluster.

requestId

string

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if requestId is provided.

Request body

The request body contains an instance of Cluster.

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.