tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IInstanceManagerClient.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using System.Threading;
3using System.Threading.Tasks;
4
9
11{
72}
Common base of entities with IDs.
Definition EntityId.cs:7
Metadata about a server instance.
Definition Instance.cs:9
Settings for a paginated request.
ValueTask< InstanceResponse > GetId(EntityId instance, CancellationToken cancellationToken)
Get a specific instance .
ValueTask< List< InstanceResponse > > List(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
Get all IInstanceClients for Instances the user can view.
ValueTask< InstanceResponse > CreateOrAttach(InstanceCreateRequest instance, CancellationToken cancellationToken)
Create or attach an instance .
IInstanceClient CreateClient(Instance instance)
Create an IInstanceClient for a given Instance.
ValueTask< InstanceResponse > Update(InstanceUpdateRequest instance, CancellationToken cancellationToken)
Relocates, renamed, and/or on/offlines an instance .
ValueTask GrantPermissions(EntityId instance, CancellationToken cancellationToken)
Gives the user full permissions on an instance .
ValueTask Detach(EntityId instance, CancellationToken cancellationToken)
Deletes an instance .