aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/compute/v1/filesystem.proto
blob: 6bbc8902d6102b899b9ed60e39b526c70d964e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
syntax = "proto3";

package yandex.cloud.compute.v1;

import "google/protobuf/timestamp.proto";

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1;compute";
option java_package = "yandex.cloud.api.compute.v1";

// A filesystem resource.
// For details about the concept, see [documentation](/docs/compute/concepts/filesystem).
message Filesystem {

  enum Status {
    STATUS_UNSPECIFIED = 0;

    // The filesystem is being created.
    CREATING = 1;

    // The filesystem is ready to use.
    READY = 2;

    // The filesystem encountered a problem and cannot operate.
    ERROR = 3;

    // The filesystem is being deleted.
    DELETING = 4;
  }

  // ID of the filesystem. Generated at creation time.
  string id = 1;

  // ID of the folder that the filesystem belongs to.
  string folder_id = 2;

  // Creation timestamp.
  google.protobuf.Timestamp created_at = 3;

  // Name of the filesystem. The name is unique within the folder.
  string name = 4;

  // Description of the filesystem.
  string description = 5;

  // Filesystem labels as `key:value` pairs.
  // For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
  map<string, string> labels = 6;

  // ID of the filesystem type.
  //
  // To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
  string type_id = 7;

  // ID of the availability zone where the filesystem resides.
  //
  // A filesystem can be attached only to instances residing in the same availability zone.
  string zone_id = 8;

  // Size of the filesystem, specified in bytes.
  int64 size = 9;

  // Block size used for the filesystem, specified in bytes.
  int64 block_size = 10;

  // Current status of the filesystem.
  Status status = 11;
}