Ytsaurus API, REST: Cluster.Get
Returns the specified cluster.
HTTP request
GET https://ytsaurus.api.yandexcloud.kz/ytsaurus/v1/clusters/{clusterId}
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the cluster to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"zoneId": "string",
"name": "string",
"description": "string",
"labels": "object",
"subnetId": "string",
"securityGroupIds": [
"string"
],
"spec": {
"storage": {
"hdd": {
"sizeGb": "string",
"count": "string"
},
"ssd": {
"sizeGb": "string",
"type": "string",
"count": "string"
}
},
"compute": [
{
"preset": "string",
"disks": [
{
"type": "string",
"sizeGb": "string",
"locations": [
"string"
]
}
],
"scalePolicy": {
// Includes only one of the fields `fixed`, `auto`
"fixed": {
"size": "string"
},
"auto": {
"minSize": "string",
"maxSize": "string"
}
// end of the list of possible fields
},
"name": "string"
}
],
"tablet": {
"preset": "string",
"count": "string"
},
"proxy": {
"http": {
"count": "string"
},
"rpc": {
"count": "string"
}
},
"odin": {
"checksTtl": "string"
},
"flavor": "string"
},
"createdAt": "string",
"createdBy": "string",
"updatedAt": "string",
"updatedBy": "string",
"status": "string",
"health": "string",
"endpoints": {
"ui": "string",
"externalHttpProxyBalancer": "string",
"internalHttpProxyAlias": "string",
"internalRpcProxyAlias": "string"
}
}
|
Field |
Description |
|
id |
string ID of the cluster. Generated at creation time. |
|
folderId |
string ID of the folder that the cluster belongs to. |
|
zoneId |
string ID of the availability zone where the cluster resides. |
|
name |
string Name of the cluster. |
|
description |
string Description of the cluster. |
|
labels |
object (map<string, string>) Cluster labels as |
|
subnetId |
string ID of the subnet where the cluster resides. |
|
securityGroupIds[] |
string Network interfaces security groups. |
|
spec |
Cluster specification. |
|
createdAt |
string (date-time) Time when the cluster was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
createdBy |
string User who created the cluster. |
|
updatedAt |
string (date-time) Time when the cluster was last updated. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedBy |
string User who last updated the cluster. |
|
status |
enum (Status) Status of the cluster.
|
|
health |
enum (Health) Health of the cluster.
|
|
endpoints |
Endpoints of the cluster. |
ClusterSpec
|
Field |
Description |
|
storage |
|
|
compute[] |
|
|
tablet |
|
|
proxy |
|
|
odin |
|
|
flavor |
enum (Flavor)
|
StorageSpec
|
Field |
Description |
|
hdd |
|
|
ssd |
HddSpec
|
Field |
Description |
|
sizeGb |
string (int64) |
|
count |
string (int64) |
SsdSpec
|
Field |
Description |
|
sizeGb |
string (int64) |
|
type |
string |
|
count |
string (int64) |
ComputeSpec
|
Field |
Description |
|
preset |
string |
|
disks[] |
|
|
scalePolicy |
|
|
name |
string Name for exec pool. |
DiskSpec
|
Field |
Description |
|
type |
string |
|
sizeGb |
string (int64) |
|
locations[] |
string |
ScalePolicy
|
Field |
Description |
|
fixed |
Includes only one of the fields |
|
auto |
Includes only one of the fields |
FixedScale
|
Field |
Description |
|
size |
string (int64) |
AutoScale
|
Field |
Description |
|
minSize |
string (int64) |
|
maxSize |
string (int64) |
TabletSpec
|
Field |
Description |
|
preset |
string |
|
count |
string (int64) |
ProxySpec
|
Field |
Description |
|
http |
|
|
rpc |
HttpProxySpec
|
Field |
Description |
|
count |
string (int64) |
RpcProxySpec
|
Field |
Description |
|
count |
string (int64) |
OdinSpec
|
Field |
Description |
|
checksTtl |
string (duration) |
Endpoints
|
Field |
Description |
|
ui |
string https://CID.ui.ytsaurus.yandexcloud.net |
|
externalHttpProxyBalancer |
string https://CID.proxy.ytsaurus.yandexcloud.net |
|
internalHttpProxyAlias |
string https://hp.CID.ytsaurus.mdb.yandexcloud.net:PORT |
|
internalRpcProxyAlias |
string rp.CID.ytsaurus.mdb.yandexcloud.net:PORT |