- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- NodePoolView
Lists bare metal node pools in a given project, location and bare metal cluster.
HTTP request
GET https://gkeonprem.googleapis.com/v1/{parent=projects/*/locations/*/bareMetalClusters/*}/bareMetalNodePools
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster} |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
A page token, received from a previous When paginating, all other parameters provided to |
view |
View for bare metal node pools. When |
Request body
The request body must be empty.
Response body
Response message for listing bare metal node pools.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"bareMetalNodePools": [
{
object ( |
Fields | |
---|---|
bareMetalNodePools[] |
The node pools from the specified parent resource. |
nextPageToken |
A token, which can be sent as |
unreachable[] |
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.
NodePoolView
A view for bare metal node pool resource.
Enums | |
---|---|
NODE_POOL_VIEW_UNSPECIFIED |
If the value is not set, the default FULL view is used. |
BASIC |
Includes basic information of a node pool resource including node pool resource name. |
FULL |
Includes the complete configuration for bare metal node pool resource. This is the default value for ListBareMetalNodePoolsRequest method. |