Class GrpcGetVmNetworkAdaptersReply
Returns the network adaptors attached to a virtual machine.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcGetVmNetworkAdaptersReply
Constructors
GrpcGetVmNetworkAdaptersReply()
Default constructor.
Declaration
public GrpcGetVmNetworkAdaptersReply()
GrpcGetVmNetworkAdaptersReply(List<GrpcVirtualMachineNetworkAdapter>)
Constructor.
Declaration
public GrpcGetVmNetworkAdaptersReply(List<GrpcVirtualMachineNetworkAdapter> adapters)
Parameters
Type | Name | Description |
---|---|---|
List<GrpcVirtualMachineNetworkAdapter> | adapters | The attached network adapters. |
GrpcGetVmNetworkAdaptersReply(Exception)
Error constructor.
Declaration
public GrpcGetVmNetworkAdaptersReply(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Properties
Adapters
Returns information about the attached network adapters.
Declaration
[DataMember(Order = 2)]
public List<GrpcVirtualMachineNetworkAdapter>? Adapters { get; set; }
Property Value
Type | Description |
---|---|
List<GrpcVirtualMachineNetworkAdapter> |
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 |