Class GrpcListSwitchesReply
Returns information about the Hyper-V switches.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcListSwitchesReply
Constructors
GrpcListSwitchesReply()
Default constructor.
Declaration
public GrpcListSwitchesReply()
GrpcListSwitchesReply(List<GrpcVirtualSwitch>)
Constructor.
Declaration
public GrpcListSwitchesReply(List<GrpcVirtualSwitch> switches)
Parameters
Type | Name | Description |
---|---|---|
List<GrpcVirtualSwitch> | switches | The switch information. |
GrpcListSwitchesReply(Exception)
Error constructor.
Declaration
public GrpcListSwitchesReply(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 |
Switches
Lists the swirch information.
Declaration
[DataMember(Order = 2)]
public List<GrpcVirtualSwitch>? Switches { get; set; }
Property Value
Type | Description |
---|---|
List<GrpcVirtualSwitch> |