Managed Service for MySQL API, gRPC: ResourcePresetService.Get
Retrieves information about a resource preset.
gRPC request
rpc Get (GetResourcePresetRequest) returns (ResourcePreset)
GetResourcePresetRequest
{
"resourcePresetId": "string"
}
Field |
Description |
resourcePresetId |
string Required field. ID of the resource preset to return information about. To get this ID, make a ResourcePresetService.List request. |
ResourcePreset
{
"id": "string",
"zoneIds": [
"string"
],
"cores": "int64",
"memory": "int64"
}
An object that represents MySQL resource preset.
A resource preset defines hardware configuration for cluster hosts.
See the documentation for details.
Field |
Description |
id |
string ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host. |
zoneIds[] |
string IDs of availability zones where the resource preset is available. |
cores |
int64 Number of CPU cores for a MySQL host created with the preset. |
memory |
int64 RAM volume for a MySQL host created with the preset, in bytes. |