Ytsaurus API, gRPC: ClusterService.Stop
Stops the specified cluster.
gRPC request
rpc Stop (StopClusterRequest) returns (operation.Operation)
StopClusterRequest
{
"cluster_id": "string"
}
|
Field |
Description |
|
cluster_id |
string Required field. ID of the cluster to stop. |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"cluster_id": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"id": "string",
"folder_id": "string",
"zone_id": "string",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"subnet_id": "string",
"security_group_ids": [
"string"
],
"spec": {
"storage": {
"hdd": {
"size_gb": "int64",
"count": "int64"
},
"ssd": {
"size_gb": "int64",
"type": "string",
"count": "int64"
}
},
"compute": [
{
"preset": "string",
"disks": [
{
"type": "string",
"size_gb": "int64",
"locations": [
"string"
]
}
],
"scale_policy": {
// Includes only one of the fields `fixed`, `auto`
"fixed": {
"size": "int64"
},
"auto": {
"min_size": "int64",
"max_size": "int64"
}
// end of the list of possible fields
},
"name": "string"
}
],
"tablet": {
"preset": "string",
"count": "int64"
},
"proxy": {
"http": {
"count": "int64"
},
"rpc": {
"count": "int64"
}
},
"odin": {
"checks_ttl": "google.protobuf.Duration"
},
"flavor": "Flavor"
},
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"updated_at": "google.protobuf.Timestamp",
"updated_by": "string",
"status": "Status",
"health": "Health",
"endpoints": {
"ui": "string",
"external_http_proxy_balancer": "string",
"internal_http_proxy_alias": "string",
"internal_rpc_proxy_alias": "string"
}
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
|
Field |
Description |
|
id |
string ID of the operation. |
|
description |
string Description of the operation. 0-256 characters long. |
|
created_at |
Creation timestamp. |
|
created_by |
string ID of the user or service account who initiated the operation. |
|
modified_at |
The time when the Operation resource was last modified. |
|
done |
bool If the value is |
|
metadata |
Service-specific metadata associated with the operation. |
|
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
|
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
StopClusterMetadata
|
Field |
Description |
|
cluster_id |
string ID of the cluster that is being stopped. |
Cluster
|
Field |
Description |
|
id |
string ID of the cluster. Generated at creation time. |
|
folder_id |
string ID of the folder that the cluster belongs to. |
|
zone_id |
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 |
|
subnet_id |
string ID of the subnet where the cluster resides. |
|
security_group_ids[] |
string Network interfaces security groups. |
|
spec |
Cluster specification. |
|
created_at |
Time when the cluster was created. |
|
created_by |
string User who created the cluster. |
|
updated_at |
Time when the cluster was last updated. |
|
updated_by |
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 |
|
size_gb |
int64 |
|
count |
int64 |
SsdSpec
|
Field |
Description |
|
size_gb |
int64 |
|
type |
string |
|
count |
int64 |
ComputeSpec
|
Field |
Description |
|
preset |
string |
|
disks[] |
|
|
scale_policy |
|
|
name |
string Name for exec pool. |
DiskSpec
|
Field |
Description |
|
type |
string |
|
size_gb |
int64 |
|
locations[] |
string |
ScalePolicy
|
Field |
Description |
|
fixed |
Includes only one of the fields |
|
auto |
Includes only one of the fields |
FixedScale
|
Field |
Description |
|
size |
int64 |
AutoScale
|
Field |
Description |
|
min_size |
int64 |
|
max_size |
int64 |
TabletSpec
|
Field |
Description |
|
preset |
string |
|
count |
int64 |
ProxySpec
|
Field |
Description |
|
http |
|
|
rpc |
HttpProxySpec
|
Field |
Description |
|
count |
int64 |
RpcProxySpec
|
Field |
Description |
|
count |
int64 |
OdinSpec
|
Field |
Description |
|
checks_ttl |
Endpoints
|
Field |
Description |
|
ui |
string https://CID.ui.ytsaurus.yandexcloud.net |
|
external_http_proxy_balancer |
string https://CID.proxy.ytsaurus.yandexcloud.net |
|
internal_http_proxy_alias |
string https://hp.CID.ytsaurus.mdb.yandexcloud.net:PORT |
|
internal_rpc_proxy_alias |
string rp.CID.ytsaurus.mdb.yandexcloud.net:PORT |