Class GrpcVirtualIPAddress
Describes a virtual Hyper-V IP address.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcVirtualIPAddress
Constructors
GrpcVirtualIPAddress()
Default constructor.
Declaration
public GrpcVirtualIPAddress()
GrpcVirtualIPAddress(string, NetworkCidr, string)
Constructor.
Declaration
public GrpcVirtualIPAddress(string address, NetworkCidr subnet, string interfaceName)
Parameters
Type | Name | Description |
---|---|---|
string | address | The associated IP address. |
NetworkCidr | subnet | The network subnet. |
string | interfaceName | Identifies the network interface or switch to which this address is connected. |
Properties
Address
The associated IP address.
Declaration
[DataMember(Order = 1)]
public string? Address { get; set; }
Property Value
Type | Description |
---|---|
string |
InterfaceName
Identifies the network interface or switch to which this address is connected.
Declaration
[DataMember(Order = 3)]
public string? InterfaceName { get; set; }
Property Value
Type | Description |
---|---|
string |
Subnet
The network subnet.
Declaration
[DataMember(Order = 2)]
public string? Subnet { get; set; }
Property Value
Type | Description |
---|---|
string |