Method: targetPools.get

Returns the specified target pool. Gets a list of available target pools by making a list() request.

HTTP request

GET https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/targetPools/{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 TargetPool resource to return.

Request body

The request body must be empty.

Response body

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

Represents a Target Pool resource.

Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "region": string,
  "healthChecks": [
    string
  ],
  "instances": [
    string
  ],
  "sessionAffinity": enum,
  "failoverRatio": number,
  "backupPool": string,
  "selfLink": string,
  "kind": string
}
Fields
id

string (uint64 format)

[Output Only] The unique identifier for the resource. This identifier is defined by the server.