Compute Cloud API, gRPC: FilesystemService.List
Lists filesystems in the specified folder.
gRPC request
rpc List (ListFilesystemsRequest) returns (ListFilesystemsResponse)
ListFilesystemsRequest
{
"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 filesystems 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 resources listed in the response. Each condition has the form
|
order_by |
string By which column the listing should be ordered and in which direction, |
ListFilesystemsResponse
{
"filesystems": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"type_id": "string",
"zone_id": "string",
"size": "int64",
"block_size": "int64",
"status": "Status"
}
],
"next_page_token": "string"
}
Field |
Description |
filesystems[] |
List of filesystems 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 |
Filesystem
A filesystem resource.
For details about the concept, see documentation.
Field |
Description |
id |
string ID of the filesystem. Generated at creation time. |
folder_id |
string ID of the folder that the filesystem belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the filesystem. The name is unique within the folder. |
description |
string Description of the filesystem. |
labels |
object (map<string, string>) Filesystem labels as |
type_id |
string ID of the filesystem type. To get a list of available filesystem types, make a yandex.cloud.compute.v1.DiskTypeService.List request. |
zone_id |
string ID of the availability zone where the filesystem resides. A filesystem can be attached only to instances residing in the same availability zone. |
size |
int64 Size of the filesystem, specified in bytes. |
block_size |
int64 Block size used for the filesystem, specified in bytes. |
status |
enum Status Current status of the filesystem.
|