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
requestIdstringpublicIpstringrunningboolportsIReadOnlyList<EdgegapPortMapping>
Properties
Ports
The mapped ports; empty while still provisioning.
public IReadOnlyList<EdgegapPortMapping> Ports { get; }
Property Value
PublicIp
The public IP players connect to; null while still provisioning.
public string PublicIp { get; }
Property Value
RequestId
Edgegap's deployment id; pass it back to StopDeploymentAsync(string, CancellationToken).
public string RequestId { get; }
Property Value
Running
True once Edgegap reports the container running and its ports mapped.
public bool Running { get; }