Method: projects.locations.clusters.nodePools.list

Lists NodePools in a given project and location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent cluster, which owns this collection of node pools.

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

  • edgecontainer.nodePools.list

Query parameters

Parameters
pageSize

integer

The maximum number of resources to list.

pageToken

string

A page token received from previous list request.

filter

string

Only resources matching this filter will be listed.

orderBy

string

Specifies the order in which resources will be listed.

Request body

The request body must be empty.

Response body

List of node pools in a cluster.

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

JSON representation
{
  "nodePools": [
    {
      object (NodePool)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
nodePools[]

object (NodePool)

Node pools in the cluster.

nextPageToken

string

A token to retrieve next page of results.

unreachable[]

string

Locations that could not be reached.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.