Class GrpcVirtualMachineNetworkAdapter
Describes a network adaptor attached to a virtual machine.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcVirtualMachineNetworkAdapter
Constructors
GrpcVirtualMachineNetworkAdapter()
Default constructor.
Declaration
public GrpcVirtualMachineNetworkAdapter()
GrpcVirtualMachineNetworkAdapter(string, bool, string, string, string, string, List<string>)
Constructor.
Declaration
public GrpcVirtualMachineNetworkAdapter(string name, bool isManagementOs, string vmName, string switchName, string macAddress, string status, List<string> addresses)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The adapter name. |
| bool | isManagementOs |
|
| string | vmName | The name of the attached virtual machine. |
| string | switchName | TThe adapter's MAC address.he attached switch name. |
| string | macAddress | The adapter's MAC address. |
| string | status | The adapter status. |
| List<string> | addresses | The IP addresses assigned to the adapter. |
Properties
Addresses
The IP addresses assigned to the adapter.
Declaration
[DataMember(Order = 7)]
public List<string>? Addresses { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
IsManagementOs
true if this adapter is attached to the management operating system.
Declaration
[DataMember(Order = 2)]
public bool IsManagementOs { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MacAddress
The adapter's MAC address.
Declaration
[DataMember(Order = 5)]
public string? MacAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The adapter name.
Declaration
[DataMember(Order = 1)]
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
The adapter status.
Declaration
[DataMember(Order = 6)]
public string? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SwitchName
The attached switch name.
Declaration
[DataMember(Order = 14)]
public string? SwitchName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VMName
The name of the attached virtual machine.
Declaration
[DataMember(Order = 3)]
public string? VMName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |