blob: 9a6c324b69c653589c9534dad79c0ba9704c4f64 (
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
|
syntax = "proto3";
package yandex.cloud.mdb.greenplum.v1;
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplum";
option java_package = "yandex.cloud.api.mdb.greenplum.v1";
// A preset of resources for hardware configuration of Greenplum® hosts.
message ResourcePreset {
reserved 6 to 7;
enum Type {
TYPE_UNSPECIFIED = 0;
// Greenplum® master host.
MASTER = 1;
// Greenplum® segment host.
SEGMENT = 2;
}
// ID of the resource preset.
string id = 1;
// IDs of availability zones where the resource preset is available.
repeated string zone_ids = 2;
// IDs of availability disk types available in the resource preset.
repeated string disk_type_ids = 10;
// Number of CPU cores for a Greenplum® host created with the preset.
int64 cores = 3;
// RAM volume for a Greenplum® host created with the preset, in bytes.
int64 memory = 4;
// Host type.
Type type = 5;
// The number of hosts must be divisible by [host_count_divider].
int64 host_count_divider = 8;
// Maximum number of segments in segment host.
int64 max_segment_in_host_count = 9;
}
|