# Process

A process object represents a runtime instance of your game server and its metadata.


## Fields

| Field                                                                                                                                                                          | Type                                                                                                                                                                           | Required                                                                                                                                                                       | Description                                                                                                                                                                    | Example                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ~~`ActiveConnections`~~                                                                                                                                                        | *int*                                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Tracks the number of active connections to a process. | 10                                                                                                                                                                             |
| ~~`ActiveConnectionsUpdatedAt`~~                                                                                                                                               | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| `AdditionalExposedPorts`                                                                                                                                                       | List<[ExposedPort](../../Models/Shared/ExposedPort.md)>                                                                                                                        | :heavy_check_mark:                                                                                                                                                             | N/A                                                                                                                                                                            | [<br/>{<br/>"host": "1.proxy.hathora.dev",<br/>"name": "debug",<br/>"port": 72941,<br/>"transportType": "tcp"<br/>}<br/>]                                                      |
| `AppId`                                                                                                                                                                        | *string*                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                             | System generated unique identifier for an application.                                                                                                                         | app-af469a92-5b45-4565-b3c4-b79878de67d2                                                                                                                                       |
| `DeploymentId`                                                                                                                                                                 | *int*                                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                             | System generated id for a deployment. Increments by 1.                                                                                                                         | 1                                                                                                                                                                              |
| `Draining`                                                                                                                                                                     | *bool*                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                             | Process in drain will not accept any new rooms.                                                                                                                                |                                                                                                                                                                                |
| `EgressedBytes`                                                                                                                                                                | *int*                                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                             | Measures network traffic leaving the process in bytes.                                                                                                                         | 435                                                                                                                                                                            |
| `ExposedPort`                                                                                                                                                                  | [ProcessExposedPort](../../Models/Shared/ProcessExposedPort.md)                                                                                                                | :heavy_check_mark:                                                                                                                                                             | N/A                                                                                                                                                                            | {<br/>"host": "1.proxy.hathora.dev",<br/>"name": "default",<br/>"port": 34567,<br/>"transportType": "tcp"<br/>}                                                                |
| ~~`Host`~~                                                                                                                                                                     | *string*                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| ~~`IdleSince`~~                                                                                                                                                                | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| ~~`Port`~~                                                                                                                                                                     | *double*                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| `ProcessId`                                                                                                                                                                    | *string*                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                             | System generated unique identifier to a runtime instance of your game server.                                                                                                  | cbfcddd2-0006-43ae-996c-995fff7bed2e                                                                                                                                           |
| `Region`                                                                                                                                                                       | [Region](../../Models/Shared/Region.md)                                                                                                                                        | :heavy_check_mark:                                                                                                                                                             | N/A                                                                                                                                                                            |                                                                                                                                                                                |
| ~~`RoomSlotsAvailable`~~                                                                                                                                                       | *double*                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| ~~`RoomSlotsAvailableUpdatedAt`~~                                                                                                                                              | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.                                                        |                                                                                                                                                                                |
| `RoomsAllocated`                                                                                                                                                               | *int*                                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                             | Tracks the number of rooms that have been allocated to the process.                                                                                                            | 1                                                                                                                                                                              |
| `RoomsAllocatedUpdatedAt`                                                                                                                                                      | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | N/A                                                                                                                                                                            |                                                                                                                                                                                |
| `RoomsPerProcess`                                                                                                                                                              | *int*                                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                             | Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process.                                                               | 3                                                                                                                                                                              |
| `StartedAt`                                                                                                                                                                    | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | When the process bound to the specified port. We use this to determine when we should start billing.                                                                           |                                                                                                                                                                                |
| `StartingAt`                                                                                                                                                                   | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | When the process started being provisioned.                                                                                                                                    |                                                                                                                                                                                |
| `StoppingAt`                                                                                                                                                                   | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | When the process is issued to stop. We use this to determine when we should stop billing.                                                                                      |                                                                                                                                                                                |
| `TerminatedAt`                                                                                                                                                                 | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                          | :heavy_check_mark:                                                                                                                                                             | When the process has been terminated.                                                                                                                                          |                                                                                                                                                                                |