Class MultiplayServersMachineSpec
A machine specification.
Inherited Members
Namespace: Unity.Services.Apis.Admin.Multiplay
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "multiplay.servers.machineSpec")]
[Preserve]
public class MultiplayServersMachineSpec
Constructors
MultiplayServersMachineSpec(DateTime, DateTime, long, string, string, string, long, long)
Initializes a new instance of the Multiplay
Declaration
[Preserve]
public MultiplayServersMachineSpec(DateTime contractEndDate = default, DateTime contractStartDate = default, long cpuCores = 0, string cpuDetail = null, string cpuName = null, string cpuShortname = null, long cpuSpeed = 0, long memory = 0)
Parameters
Type | Name | Description |
---|---|---|
Date |
contractEndDate | End date of the server's machine contract. (required). |
Date |
contractStartDate | Start date of the server's machine contract. (required). |
long | cpuCores | CPU number of cores. (required). |
string | cpuDetail | Additional detail on the CPU.. |
string | cpuName | Name of the CPU. (required). |
string | cpuShortname | Shortname of the CPU. (required). |
long | cpuSpeed | CPU Speed (MHz) of the machine hosting the server. (required). |
long | memory | RAM (MiB) of the machine hosting the server. (required). |
Properties
ContractEndDate
End date of the server's machine contract.
Declaration
[DataMember(Name = "contractEndDate", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public DateTime ContractEndDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
End date of the server's machine contract. |
ContractStartDate
Start date of the server's machine contract.
Declaration
[DataMember(Name = "contractStartDate", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public DateTime ContractStartDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
Start date of the server's machine contract. |
CpuCores
CPU number of cores.
Declaration
[DataMember(Name = "cpuCores", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long CpuCores { get; set; }
Property Value
Type | Description |
---|---|
long | CPU number of cores. |
CpuDetail
Additional detail on the CPU.
Declaration
[DataMember(Name = "cpuDetail", EmitDefaultValue = false)]
[Preserve]
public string CpuDetail { get; set; }
Property Value
Type | Description |
---|---|
string | Additional detail on the CPU. |
CpuName
Name of the CPU.
Declaration
[DataMember(Name = "cpuName", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string CpuName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the CPU. |
CpuShortname
Shortname of the CPU.
Declaration
[DataMember(Name = "cpuShortname", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string CpuShortname { get; set; }
Property Value
Type | Description |
---|---|
string | Shortname of the CPU. |
CpuSpeed
CPU Speed (MHz) of the machine hosting the server.
Declaration
[DataMember(Name = "cpuSpeed", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long CpuSpeed { get; set; }
Property Value
Type | Description |
---|---|
long | CPU Speed (MHz) of the machine hosting the server. |
Memory
RAM (MiB) of the machine hosting the server.
Declaration
[DataMember(Name = "memory", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long Memory { get; set; }
Property Value
Type | Description |
---|---|
long | RAM (MiB) of the machine hosting the server. |