Compute Cloud API, REST: Filesystem.List
Lists filesystems in the specified folder.
HTTP request
GET https://compute.api.cloud.yandex.net/compute/v1/filesystems
Query parameters
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 |
string (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, |
Response
HTTP Code: 200 - OK
{
"filesystems": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"typeId": "string",
"zoneId": "string",
"size": "string",
"blockSize": "string",
"status": "string"
}
],
"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 |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
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 |
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 |
string (int64) Size of the filesystem, specified in bytes. |
blockSize |
string (int64) Block size used for the filesystem, specified in bytes. |
status |
enum (Status) Current status of the filesystem.
|