Class GrpcVirtualNat
Describes a Hyper-V virtual NAT.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcVirtualNat
Constructors
GrpcVirtualNat()
Default constructor.
Declaration
public GrpcVirtualNat()
GrpcVirtualNat(string, string)
Constructor.
Declaration
public GrpcVirtualNat(string name, string subnet)
Parameters
Type | Name | Description |
---|---|---|
string | name | The NAT's name. |
string | subnet | The NAT source subnet. |
Properties
Name
The NAT's name.
Declaration
[DataMember(Order = 1)]
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Subnet
The NAT source subnet.
Declaration
[DataMember(Order = 2)]
public string? Subnet { get; set; }
Property Value
Type | Description |
---|---|
string |