GET /api/compute_profiles
List of compute profiles

參數

參數名字 描述
search
選填

篩選結果


Value:

Must be String

order
選填

排序結果


Value:

Must be String

page
選填

編頁結果


Value:

Must be String

per_page
選填

每個請求的項目數量


Value:

Must be String


GET /api/compute_profiles/:id
Show a compute profile

參數

參數名字 描述
id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/compute_profiles
Create a compute profile

參數

參數名字 描述
compute_profile
必填

Value:

Must be a Hash

compute_profile[name]
必填

Value:

Must be String


PUT /api/compute_profiles/:id
Update a compute profile

參數

參數名字 描述
id
必填

Value:

Must be String

compute_profile
必填

Value:

Must be a Hash

compute_profile[name]
選填

Value:

Must be String


DELETE /api/compute_profiles/:id
Delete a compute profile

參數

參數名字 描述
id
必填

Value:

Must be String