Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for MySQL
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to databases
    • Stopping and starting clusters
    • Changing clusters
    • Connecting to DataLens
    • How to manage MySQL hosts
    • Database management
    • Database setup
    • Managing database users
    • Managing backups
    • Deleting clusters
    • Database migration to the Cloud
  • Concepts
    • Relationship between service resources
    • Host classes
    • Network in Managed Service for MySQL
    • Quotas and limits
    • Storage types
    • Backups
    • Replication
  • Access management
  • Pricing policy
    • Current pricing policy
    • Archive
      • Before February 1, 2020
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • BackupService
      • ClusterService
      • DatabaseService
      • ResourcePresetService
      • UserService
      • OperationService
    • REST
      • Overview
      • Backup
        • Overview
        • get
        • list
      • Cluster
        • Overview
        • addHosts
        • backup
        • create
        • delete
        • deleteHosts
        • get
        • list
        • listBackups
        • listHosts
        • listLogs
        • listOperations
        • restore
        • start
        • stop
        • update
      • Database
        • Overview
        • create
        • delete
        • get
        • list
      • ResourcePreset
        • Overview
        • get
        • list
      • User
        • Overview
        • create
        • delete
        • get
        • grantPermission
        • list
        • revokePermission
        • update
      • Operation
        • Overview
        • get
  • Questions and answers
    • General questions
    • Questions about MySQL
    • All questions on the same page
  1. API reference
  2. REST
  3. ResourcePreset
  4. get

Method get

  • HTTP request
  • Path parameters
  • Response

Returns the specified resource preset.

To get the list of available resource presets, make a list request.

HTTP request

GET https://mdb.api.cloud.yandex.net/managed-mysql/v1alpha/resourcePresets/{resourcePresetId}

Path parameters

Parameter Description
resourcePresetId Required. ID of the resource preset to return. To get the resource preset ID, use a list request.

Response

HTTP Code: 200 - OK

{
  "id": "string",
  "zoneIds": [
    "string"
  ],
  "cores": "string",
  "memory": "string"
}

A preset of resources for hardware configuration of MySQL hosts.

Field Description
id string

ID of the resource preset.

zoneIds[] string

IDs of availability zones where the resource preset is available.

cores string (int64)

Number of CPU cores for a MySQL host created with the preset.

memory string (int64)

RAM volume for a MySQL host created with the preset, in bytes.

In this article:
  • HTTP request
  • Path parameters
  • Response
Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC