Host Capacity
With the HostCapacityTemplate element you can define how many game instances you want deployed on any specified BM instance types and / or VM instance types. The actual definitions of the instance types and capacities themselves are defined in the InstanceTypeCapacity elements, which are assigned to this HostCapacityTemplate upon creation.
Element Structure
id
string
Read-only
Unique identifier of this element
name
string
Yes
The name of the HostCapacityTemplate
createdAt
int
Read-only
A unix timestamp of when this element was created
Table 1: HostCapacityTemplate element structure
API example
Create a new HostCapacityTemplate within your i3D.net account.
HTTP request
Request body
Response body
Assignment to a Fleet
A HostCapacityTemplate can be assigned to a Fleet. Here is a simple example to show you how:
HTTP request
Request body
Response body
Assignment to an ApplicationBuild
A HostCapacityTemplate can also be assigned to an ApplicationBuild. This will override a HostCapacityTemplate set in the Fleet. This is useful if you want to test optimizations of a new build, to see if you can deploy more game instances than before.
HTTP request
PUT /v3/applicationBuild/{applicationBuildId}
Request body
Response body
Related element
This element contains a list of InstanceTypeCapacity elements.
Last updated