Class GrpcGetVmReply
Holds information about a specific virtual machine.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcGetVmReply
Constructors
GrpcGetVmReply()
Default constructor.
Declaration
public GrpcGetVmReply()
GrpcGetVmReply(GrpcVirtualMachine)
Constructor constructor.
Declaration
public GrpcGetVmReply(GrpcVirtualMachine machine)
Parameters
Type | Name | Description |
---|---|---|
GrpcVirtualMachine | machine | The machine information. |
GrpcGetVmReply(Exception)
Error constructor.
Declaration
public GrpcGetVmReply(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 |
Machine
Information about the virtual machine or null
when the machine doesn't exist.
Declaration
[DataMember(Order = 2)]
public GrpcVirtualMachine? Machine { get; set; }
Property Value
Type | Description |
---|---|
GrpcVirtualMachine |