blob: 39cbd586c803e431a04b9df4150684de7d665329 (
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
|
syntax = "proto3";
package yandex.cloud.mdb.clickhouse.v1;
import "yandex/cloud/validation.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouse";
option java_package = "yandex.cloud.api.mdb.clickhouse.v1";
// A ClickHouse Database resource. For more information, see the
// [Developer's Guide](/docs/managed-clickhouse/concepts).
message Database {
// Name of the database.
string name = 1;
// ID of the ClickHouse cluster that the database belongs to.
string cluster_id = 2;
}
message DatabaseSpec {
// Name of the ClickHouse database. 1-63 characters long.
string name = 1 [(required) = true, (length) = "<=63", (pattern) = "[a-zA-Z0-9_-]*"];
}
|