docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiplayServersMachineSpec

    A machine specification.

    Inheritance
    object
    MultiplayServersMachineSpec
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 MultiplayServersMachineSpec class.

    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
    DateTime contractEndDate

    End date of the server's machine contract. (required).

    DateTime 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
    DateTime

    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
    DateTime

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)