docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMultiplayAllocationsAdminApi

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    Namespace: Unity.Services.Apis.Admin.Multiplay
    Assembly: Unity.Services.Apis.dll
    Syntax
    public interface IMultiplayAllocationsAdminApi : IApiAccessor

    Methods

    GetTestAllocation(string, string, string, string, CancellationToken)

    View a test allocation

    Declaration
    ApiOperation<MultiplayAllocationsTestAllocation> GetTestAllocation(string projectId, string environmentId, string fleetId, string allocationId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    The project's Project ID

    string environmentId

    The Environment ID of a project

    string fleetId

    Fleet ID

    string allocationId

    Allocation ID

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<MultiplayAllocationsTestAllocation>

    The operation

    ListTestAllocations(string, string, CancellationToken)

    List a project's test allocations

    Declaration
    ApiOperation<MultiplayAllocationsListTestAllocationsResponse> ListTestAllocations(string projectId, string environmentId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    The project's Project ID

    string environmentId

    The Environment ID of a project

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<MultiplayAllocationsListTestAllocationsResponse>

    The operation

    ProcessTestAllocation(string, string, string, MultiplayAllocationsTestAllocateRequest, CancellationToken)

    Queue a test allocation

    Declaration
    ApiOperation<MultiplayAllocationsTestAllocateResponse> ProcessTestAllocation(string projectId, string environmentId, string fleetId, MultiplayAllocationsTestAllocateRequest multiplayAllocationsTestAllocateRequest = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    The project's Project ID

    string environmentId

    The Environment ID of a project

    string fleetId

    Fleet ID

    MultiplayAllocationsTestAllocateRequest multiplayAllocationsTestAllocateRequest

    Test allocation request. (optional)

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<MultiplayAllocationsTestAllocateResponse>

    The operation

    ProcessTestDeallocation(string, string, string, string, CancellationToken)

    Remove a test allocation

    Declaration
    ApiOperation ProcessTestDeallocation(string projectId, string environmentId, string fleetId, string allocationId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    The project's Project ID

    string environmentId

    The Environment ID of a project

    string fleetId

    Fleet ID

    string allocationId

    Allocation ID

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation

    The operation

    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)