aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/compute/v1/gpu_cluster.proto
blob: 624580d5d4189329c54022d341bc04b752f80262 (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
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 GPU cluster. For details about the concept, see [documentation](/docs/compute/concepts/gpu-cluster).
message GpuCluster {
  enum Status {
    STATUS_UNSPECIFIED = 0;

    // GPU cluster is being created.
    CREATING = 1;

    // GPU cluster is ready to use.
    READY = 2;

    // GPU cluster encountered a problem and cannot operate.
    ERROR = 3;

    // GPU cluster is being deleted.
    DELETING = 4;
  }

  // ID of GPU cluster.
  string id = 1;

  // ID of the folder that the GPU cluster belongs to.
  string folder_id = 2;
  
  // Creation timestamp.
  google.protobuf.Timestamp created_at = 3;

  // Name of the GPU cluster.
  //
  // The name is unique within the folder.
  string name = 4;
  
  // Description of the GPU cluster.
  string description = 5;

  // GPU cluster labels as `key:value` pairs.
  map<string, string> labels = 6;

  // Status of the GPU cluster.
  Status status = 7;

  // ID of the availability zone where the GPU cluster resides.
  string zone_id = 8;

  // Type of interconnect used for this GPU cluster.
  GpuInterconnectType interconnect_type = 9;

}

enum GpuInterconnectType {
  GPU_INTERCONNECT_TYPE_UNSPECIFIED = 0;

  // InfiniBand interconnect.
  INFINIBAND = 1;
}