Create Spa
POST/v1/armada/simple_product_assignment
Create a simple product assignment
Request
- application/json
Body
required
name Name (string)required
Possible values: non-empty and <= 256 characters
The name of the product that will be used directly by the deployment system. e.g., paladins, roco
count Count (integer)required
The number of instances of the product that will be used directly by the deployment system.
host_id uuidrequired
The ID of the host this assignment is associated with
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
name Name (string)required
Possible values: non-empty and <= 256 characters
The name of the product that will be used directly by the deployment system. e.g., paladins, roco
count Count (integer)required
The number of instances of the product that will be used directly by the deployment system.
host_id uuidrequired
The ID of the host this assignment is associated with
simple_product_assignment_id uuidrequired
{
"name": "string",
"count": 0,
"host_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"simple_product_assignment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...