Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serveNodes is set to non-zero, then the cluster is manually scaled. If clusterConfig.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
HTTP request
POST https://bigtableadmin.googleapis.com/v2/{parent=projects/*}/instances
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The unique name of the project in which to create the new instance. Values are of the form Authorization requires one or more of the following IAM permissions on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "instanceId": string, "instance": { object ( |
Fields | |
---|---|
instance |
Required. The ID to be used when referring to the new instance within its project, e.g., just |
instance |
Required. The instance to create. Fields marked |
clusters |
Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just An object containing a list of |
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigtable.admin
https://www.googleapis.com/auth/bigtable.admin.cluster
https://www.googleapis.com/auth/bigtable.admin.instance
https://www.googleapis.com/auth/cloud-bigtable.admin
https://www.googleapis.com/auth/cloud-bigtable.admin.cluster
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.