OpenapiVm

Create VM

Create VM

post/openapi/v1/vms/create

Request

Request body

vmTypeIdinteger required

machine model type id

regionstring required

region

regionIdinteger
nickNamestring required
isSpotinteger required

is spot instance, 0: on-demand, 1: spot

volumeMountPathsobject

Volume mount paths mapping: volumeId -> mountPath. If not specified, default path will be used.

Response

OK

messagestring

message

codeinteger

code

Changes

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