Class EdgegapDeployment

Namespace
Unity.Multiplayer.Core

A live (or still-starting) Edgegap deployment, as reported by POST /deploy or GET /status/{id}.

public sealed class EdgegapDeployment
Inheritance
EdgegapDeployment
Inherited Members

Constructors

EdgegapDeployment(string, string, bool, IReadOnlyList<EdgegapPortMapping>)

Describes a deployment.

public EdgegapDeployment(string requestId, string publicIp, bool running, IReadOnlyList<EdgegapPortMapping> ports)

Parameters

requestId string
publicIp string
running bool
ports IReadOnlyList<EdgegapPortMapping>

Properties

Ports

The mapped ports; empty while still provisioning.

public IReadOnlyList<EdgegapPortMapping> Ports { get; }

Property Value

IReadOnlyList<EdgegapPortMapping>

PublicIp

The public IP players connect to; null while still provisioning.

public string PublicIp { get; }

Property Value

string

RequestId

Edgegap's deployment id; pass it back to StopDeploymentAsync(string, CancellationToken).

public string RequestId { get; }

Property Value

string

Running

True once Edgegap reports the container running and its ports mapped.

public bool Running { get; }

Property Value

bool