Returning all VM types
When not overridden by custom types, this endpoint returns all the default VM types for your IaaS
If you are on AWS, you will see an additional boolean field raw_instance_storage
per vm_type.
If you are on GCP, you will see an additional string field machine_type
if it has been specified for the vm_type.
Request
URI
GET
https://{opsmanager-installation}/api/v0/vm_types
COPY
Responses
200
OK
Returns
GetVmTypes
of type(s)
application/json
{
"vm_type_catalog_name": "string",
"vm_types": [
{}
]
}
string
vm_type_catalog_name
Optional
The name of the VM type catalog. This can vary between IaaS providers. When using a custom VM type catalog, the value will be CUSTOM
.
Possible values are :
CUSTOM,
DEFAULT,
FIFTH_GEN,
FIFTH_GEN_AMD,
GEN_1_VM_TYPE,
GEN_2_VM_TYPE,
STANDARD_SERIES,
E2_SERIES,
array of
vm_types
vm_types
Optional
vm_types
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/vm_types