Instance Type
Create a Machine/Instance Type association
Associate a Machine to an Instance Type
Org must have an Infrastructure Provider entity that owns the Instance Type and the Machine. User must have authorization role with PROVIDER_ADMIN suffix.
The Machine's capabilities must be a superset of the Instance Type's required capabilities for the association to succeed.
post/v2/org/{org}/nico/instance/type/{instanceTypeId}/machine
Request body
Example request
{
"machineIds": [
"fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"fm100htrh18t1lrjg2pqagkh3sfigr9m65dejvkq168ako07sc0uibpp5q0",
"fm100ht68sf2m52idrpslcjkpdj5r3tb3j5o0bkfubhoglbq47u18nknfog"
]
}Response
Created
Example response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"machineId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]