Overriding defaults with custom disk types

Overriding defaults with custom disk 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.

Request
URI
PUT
https://{api_host}/api/v0/disk_types
COPY
Request Body
PutDiskTypes of type(s) application/json
Optional
{
    "disk_types": [
        {
            "name": "string",
            "size_mb": "number",
            "additional_cloud_properties": {}
        }
    ]
}
array of disk_types
disk_types
Optional

disk_types

Responses
200

OK

Returns PutDiskTypes of type(s) application/json
"PutDiskTypes Object"
array of disk_types
disk_types
Optional

disk_types


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/disk_types