Compute Cloud API, gRPC: GpuClusterService.List
Retrieves the list of GPU clusters in the specified folder.
gRPC request
rpc List (ListGpuClustersRequest) returns (ListGpuClustersResponse)
ListGpuClustersRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string",
"order_by": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the folder to list GPU clusters in. To get the folder ID, make a yandex.cloud.resourcemanager.v1.FolderService.List request. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters GPU clusters listed in the response. The expression must specify:
|
order_by |
string A sorting expression that sorts GPU clusters listed in the response. The expression must specify the field name from GpuCluster and Default value: |
ListGpuClustersResponse
{
"gpu_clusters": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"zone_id": "string",
"interconnect_type": "GpuInterconnectType"
}
],
"next_page_token": "string"
}
Field |
Description |
gpu_clusters[] |
List of GPU clusters in the specified folder. |
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
GpuCluster
A GPU cluster. For details about the concept, see documentation.
Field |
Description |
id |
string ID of GPU cluster. |
folder_id |
string ID of the folder that the GPU cluster belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the GPU cluster. The name is unique within the folder. |
description |
string Description of the GPU cluster. |
labels |
object (map<string, string>) GPU cluster labels as |
status |
enum Status Status of the GPU cluster.
|
zone_id |
string ID of the availability zone where the GPU cluster resides. |
interconnect_type |
enum GpuInterconnectType Type of interconnect used for this GPU cluster.
|