Overriding defaults with custom VM types

Overriding defaults with custom VM types

When overridden, the default types will be replaced by operator provided sizes. Operators can repeatedly update the list of available sizes, and any jobs using no-longer-available-sizes will be returned to the default of automatic.

AWS vm_types also have a raw_instance_storage boolean field. If you are on AWS, you can optionally provide one under each vm_type in your request body. If you do not supply it, it defaults to false.

GCP vm_types also have a machine_type string field. This allows you to use a predefined GCP machine type for a given VM type, instead of using a "custom" GCP machine type.

Request
URI
PUT
https://{opsmanager-installation}//api/v0/vm_types
COPY
Request Body
PutVmTypes of type(s) application/json
Optional
{
    "vm_types": [
        {}
    ]
}
array of vm_types
vm_types
Optional

vm_types

Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure