The API allows you list and view Virtual Machine Flavors.
Returns list of flavors filtered by specified query parameters.
name | type | description |
---|---|---|
direction | query | |
filter | query | |
hvCluster-uuid | query | |
hypervisor-manager | query | |
nameLike | query | |
orderBy | query | |
page | query | |
project | query | |
project-uuid | query | |
size | query |
media type | data type | description |
---|---|---|
application/json | array of VmFlavorListRecord (JSON) | list of networks filtered by specified query parameters |
GET /virtual-machine-flavors
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"uuid" : "...",
"name" : "...",
"present" : true,
"shared" : true,
"displayName" : "...",
"hvManager" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}
} ]
Returns list of flavors for restore filtered by specified query parameters.
name | type | description |
---|---|---|
direction | query | |
filter | query | |
hvCluster-uuid | query | |
hypervisor-manager | query | |
nameLike | query | |
orderBy | query | |
page | query | |
project | query | |
project-uuid | query | |
size | query |
media type | data type | description |
---|---|---|
application/json | array of VmFlavorForRestoreListRecord (JSON) | list of networks filtered by specified query parameters |
GET /virtual-machine-flavors/for-restore
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"uuid" : "...",
"name" : "...",
"present" : true,
"shared" : true,
"displayName" : "...",
"hvManager" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}
} ]
name | type | description |
---|---|---|
guid | path |
DELETE /virtual-machine-flavors/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Get a single flavor.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for flavor (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | VmFlavorDetails (JSON) | flavor details |
GET /virtual-machine-flavors/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"guid" : "...",
"uuid" : "...",
"name" : "...",
"vcpus" : 12345,
"ram" : 12345,
"totalDiskSpace" : 12345,
"configuration" : "...",
"shared" : true,
"present" : true,
"projects" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"hvManager" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"hvClusters" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
}