Gamedeploymenttemplate
Last updated
Last updated
The GameDeploymentTemplate indicates which [game server] ApplicationBuilds you want to have deployed within a Fleet.
Figure 1: Highlighting where the GameDeploymentTemplate elements belong in the overview
A GameDeploymentTemplate is used by a Fleet and defines which ApplicationBuilds (of type Game) will be deployed for that Fleet. A single GameDeploymentTemplate can define more than one ApplicationBuild by adding multiple GameDeploymentTemplateBuild elements. Each of these defines a single (ApplicationBuild (of type Game).
Each ApplicationBuild defined in a template will be treated like individually scalable builds. If you set a Fleet's operational status to "Automatic Deployment", each build will be deployed individually according to the DeploymentProfile.minimumCapacity value. Similarly, when you set the Fleet's operational status to "Automatic Scaling", each build will be automatically scaled individually. In short, each ApplicationBuild in the GameDeploymentTemplate is treated individually. No relationship between the defined ApplicationBuilds exists.
You can create as many GameDeploymentTemplates as you like within the platform. However, a Fleet can only point to one GameDeploymentTemplate at a time. A GameDeploymentTemplate can be shared (re-used) across multiple fleets though.
id
string
Read-only
Unique identifier of this element
name
string
Yes
Name of the template
inUse
boolean
Read-only
Indicates whether this template is actively being used in a Fleet
createdAt
int
Read-only
A unix timestamp of when this element was created
gameDeploymentTemplateBuild
Yes
List of GameDeploymentTemplateBuild elements, pointing to ApplicationBuilds
Table 1: GameDeploymentTemplate element structure
Table 2: GameDeploymentTemplateBuild element structure
Create a new GameDeploymentTemplate within your i3D.net account.
POST /v3/deploymentTemplate/game