Class GrpcListNatsReply
Lists the information about the Hyper-V virtual NATs.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcListNatsReply
Constructors
GrpcListNatsReply()
Default constructor.
Declaration
public GrpcListNatsReply()
GrpcListNatsReply(List<GrpcVirtualNat>)
Constructor.
Declaration
public GrpcListNatsReply(List<GrpcVirtualNat> nats)
Parameters
Type | Name | Description |
---|---|---|
List<GrpcVirtualNat> | nats | The virtual NATs. |
GrpcListNatsReply(Exception)
Error constructor.
Declaration
public GrpcListNatsReply(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Properties
Error
Set to a non-null error when the request failed.
Declaration
[DataMember(Order = 1)]
public GrpcError? Error { get; set; }
Property Value
Type | Description |
---|---|
GrpcError |
Nats
Information about the virtual NATs.
Declaration
[DataMember(Order = 2)]
public List<GrpcVirtualNat>? Nats { get; set; }
Property Value
Type | Description |
---|---|
List<GrpcVirtualNat> |