Compute Cloud API, gRPC: FilesystemService.List
Lists filesystems in the specified folder.
gRPC request
rpc List (ListFilesystemsRequest) returns (ListFilesystemsResponse)
ListFilesystemsRequest
{
"folderId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string",
"orderBy": "string"
}
Field |
Description |
folderId |
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. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
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
|
orderBy |
string By which column the listing should be ordered and in which direction, |
ListFilesystemsResponse
{
"filesystems": [
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"typeId": "string",
"zoneId": "string",
"size": "int64",
"blockSize": "int64",
"status": "Status"
}
],
"nextPageToken": "string"
}
Field |
Description |
filesystems[] |
List of filesystems in the specified folder. |
nextPageToken |
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. |
folderId |
string ID of the folder that the filesystem belongs to. |
createdAt |
Creation timestamp. |
name |
string Name of the filesystem. The name is unique within the folder. |
description |
string Description of the filesystem. |
labels |
string Filesystem labels as |
typeId |
string ID of the filesystem type. To get a list of available filesystem types, make a yandex.cloud.compute.v1.DiskTypeService.List request. |
zoneId |
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. |
blockSize |
int64 Block size used for the filesystem, specified in bytes. |
status |
enum Status Current status of the filesystem.
|