Skip to main content

GameServerAllocationSpec

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Agones.

Spec of an Agones game server allocation request: which servers may be picked and metadata to set on the chosen one.

Constructors​

MemberWhat it is
GameServerAllocationSpec()Creates a GameServerAllocationSpec with default values.

Properties​

MemberWhat it is
Metadata Metadata { get; set; }Metadata to apply to the allocated server.
GameServerAllocationSpec.RequiredSpec Required { get; set; }Old single label selector. Marked obsolete in favour of Selectors.
string Scheduling { get; set; }Agones scheduling strategy name.
GameServerAllocationSpec.RequiredSpec[] Selectors { get; set; }Label selectors a server must match to be allocated.

Used in​

Members of other types that take, return or hold a GameServerAllocationSpec: