lxc

Create an LXC VPS

Tạo dữ liệu hoặc thực thi thao tác tại /api/lxc. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.

post/api/lxc

Request

  • Base URL: https://api.monacloud.vn
  • URL: https://api.monacloud.vn/api/lxc
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Token

Request body

app_namestring required
package_slugstring nullable
cpuinteger nullable
ram_gbinteger nullable
disk_gbinteger nullable
hostnamestring nullable
billing_mode'hourly' | 'monthly'
plan_codestring nullable
period'month' | 'year'

Response

Successful Response

idstring required
status'awaiting_upload' | 'queued' | 'pending' | 'running' | 'done' | 'succeeded' | 'failed' | 'retrying' | 'cancelled' required
typestring required
resultobject nullable
errorstring nullable
attemptsinteger
max_attemptsinteger
created_atstring date-time nullable
updated_atstring date-time nullable
sandboxboolean
expires_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.