Save Instance Type
Endpoint to create instance plans
Authorized Roles : PROVIDER
Request
URI
POST
https://{api_host}/provider/instancetype
COPY
Request Body
CreateInstanceTypeDTO of type(s) application/json
Required
{
"name": "string",
"cpu": 0,
"memory": 0
}
string
name
Required
name
integer As int32 As int32
cpu
Required
cpu
integer As int32 As int32
memory
Required
memory
Responses
200
OK
Returns InstanceTypeDTO of type(s) application/vnd.vmware.dms-v1+json
{
"id": "string",
"name": "string",
"cpu": 0,
"memory": 0,
"deleted": false
}
string As uuid As uuid
id
Optional
id
string
name
Required
name
integer As int32 As int32
cpu
Required
cpu
integer As int32 As int32
memory
Required
memory
boolean
deleted
Optional
deleted
400
Bad Request
Operation doesn't return any data structure
Instance Plans Operations
DELETE
Delete Instance Type
GET
Get All Instance Types
POST
Save Instance Type
PUT
Update Instance Type