aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/mysql/v1/resource_preset.proto
blob: 60877f9c3c7490684738e2c0e8555126553416f0 (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
syntax = "proto3";

package yandex.cloud.mdb.mysql.v1;

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

// An object that represents MySQL resource preset.
// A resource preset defines hardware configuration for cluster hosts.
//
// See [the documentation](/docs/managed-mysql/concepts/instance-types) for details.
message ResourcePreset {

  // ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host.
  string id = 1;

  // IDs of availability zones where the resource preset is available.
  repeated string zone_ids = 2;

  // Number of CPU cores for a MySQL host created with the preset.
  int64 cores = 3;

  // RAM volume for a MySQL host created with the preset, in bytes.
  int64 memory = 4;
}