Data Proc API, REST: ResourcePreset.Get
Returns the specified ResourcePreset resource.
To get the list of available ResourcePreset resources, make a List request.
HTTP request
GET https://dataproc.api.cloud.yandex.net/dataproc/v1/resourcePresets/{resourcePresetId}
Path parameters
Field |
Description |
resourcePresetId |
string Required field. Required. ID of the resource preset to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"zoneIds": [
"string"
],
"cores": "string",
"memory": "string"
}
A ResourcePreset resource for describing hardware configuration presets.
Field |
Description |
id |
string ID of the ResourcePreset resource. |
zoneIds[] |
string IDs of availability zones where the resource preset is available. |
cores |
string (int64) Number of CPU cores for a Data Proc host created with the preset. |
memory |
string (int64) RAM volume for a Data Proc host created with the preset, in bytes. |