Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.63 KB

database_preset.md

File metadata and controls

40 lines (27 loc) · 1.63 KB
page_title subcategory description
twc_database_preset Data Source - Timeweb Cloud
Data source that provides bunch of useful parameters for filtering and suitable preset selection. All parameters are filters, so you can use only needed. Available presets may be retrieved from API https://api.timeweb.cloud/api/v1/presets/dbs

twc_database_preset (Data Source)

Data source that provides bunch of useful parameters for filtering and suitable preset selection. All parameters are filters, so you can use only needed. Available presets may be retrieved from API

Schema

Optional

  • cpu (Number) CPU count of specified preset
  • description_short (String) Short description of specified preset
  • disk (Number) Disk size of specified preset
  • location (String) Location for the created storage (ru-1, ru-2, pl-1, kz-1). When storage was created all new presets or configuration may be only chosen from same location
  • price_filter (Block List, Max: 1) Price filter for select preset in specified price range (see below for nested schema)
  • ram (Number) RAM size of specified preset
  • type (String) Type of database (mysql, mysql5, postgres, redis, mongodb)

Read-Only

  • description (String) Description of specified preset
  • id (String) The ID of this resource.
  • price (Number) Price of specified preset

Nested Schema for price_filter

Required:

  • from (Number) Minimum price (inclusive)
  • to (Number) Maximum price (inclusive)