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