Method: regionInstanceGroups.get

Returns the specified instance group resource.

HTTP request

GET https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/instanceGroups/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

region

string

Name of the region scoping this request.

resourceId

string

Name of the instance group resource to return.

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

  • compute.instanceGroups.get

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents an Instance Group resource.

Instance Groups can be used to configure a target for load balancing.

Instance groups can either be managed or unmanaged.

To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead.

Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups.

For more information, read Instance groups.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "namedPorts": [
    {
      "name": string,
      "port": integer
    }
  ],
  "network": string,
  "fingerprint": string,
  "zone": string,
  "selfLink": string,
  "size": integer,
  "region": string,
  "subnetwork": string,
  "kind": string
}
Fields
id

string (uint64 format)

[Output Only] A unique identifier for this instance group, generated by the server.

creationTimestamp

string

[Output Only] The creation timestamp for this instance group in RFC3339 text format.

name

string

The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.