Managed Service for PostgreSQL API, gRPC: ResourcePresetService.Get
Written by
Updated at November 26, 2024
Returns the specified ResourcePreset resource.
To get the list of available ResourcePreset resources, make a List request.
gRPC request
rpc Get (GetResourcePresetRequest) returns (ResourcePreset)
GetResourcePresetRequest
{
"resource_preset_id": "string"
}
Field |
Description |
resource_preset_id |
string Required field. ID of the resource preset to return. |
ResourcePreset
{
"id": "string",
"zone_ids": [
"string"
],
"cores": "int64",
"memory": "int64"
}
A ResourcePreset resource for describing hardware configuration presets.
Field |
Description |
id |
string ID of the ResourcePreset resource. |
zone_ids[] |
string IDs of availability zones where the resource preset is available. |
cores |
int64 Number of CPU cores for a PostgreSQL host created with the preset. |
memory |
int64 RAM volume for a PostgreSQL host created with the preset, in bytes. |