This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.
Resource types
Pools
For Pools Resource details, see the resource representation page.
Method | HTTP request | Description |
---|---|---|
URIs relative to https://www.googleapis.com/replicapool/v1beta1/projects, unless otherwise noted | ||
delete |
POST /
projectName
/zones/
zone
/pools/
poolName
|
Deletes a pool. This deletes all replicas in the pool, and also deletes the associated virtual machine instances. If you would like to keep any virtual machine instances from being deleted, you can specify the instances in the
abandonInstances[]
list.
|
get |
GET /
projectName
/zones/
zone
/pools/
poolName
|
Gets information about a single replica pool. |
insert |
POST /
projectName
/zones/
zone
/pools
|
Inserts a new replica pool, using the template provided. This creates a replica pool with the specified number of replicas automatically. |
list |
GET /
projectName
/zones/
zone
/pools
|
Lists all replica pools. |
resize |
POST /
projectName
/zones/
zone
/pools/
poolName
/resize
|
Resizes a pool. This causes the Replica Pool service to remove or add replicas. Note that you cannot select which replicas can be removed. |
updatetemplate |
POST /
projectName
/zones/
zone
/pools/
poolName
/updateTemplate
|
Updates the template used by the pool. If you update a template, the new template will only apply to new replicas or to replicas that are restarted. |
Replicas
For Replicas Resource details, see the resource representation page.
Method | HTTP request | Description |
---|---|---|
URIs relative to https://www.googleapis.com/replicapool/v1beta1/projects, unless otherwise noted | ||
delete |
POST /
projectName
/zones/
zone
/pools/
poolName
/replicas/
replicaName
|
Deletes a replica from the pool. |
get |
GET /
projectName
/zones/
zone
/pools/
poolName
/replicas/
replicaName
|
Gets information about a specific replica. |
list |
GET /
projectName
/zones/
zone
/pools/
poolName
/replicas
|
Lists all replicas in a pool. |
restart |
POST /
projectName
/zones/
zone
/pools/
poolName
/replicas/
replicaName
/restart
|
Restarts a replica in a pool. This picks up any changes that have been made to the Pool template and the replica will use the new, updated template. |