Class GrpcVirtualSwitch
Describes a virtual switch.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcVirtualSwitch
Constructors
GrpcVirtualSwitch()
Default constructor.
Declaration
public GrpcVirtualSwitch()
GrpcVirtualSwitch(string, string)
Constructor.
Declaration
public GrpcVirtualSwitch(string name, string type)
Parameters
Type | Name | Description |
---|---|---|
string | name | The switch name. |
string | type | The switch type (corresponds to the [VirtualSwitchType] enum. |
Properties
Name
The switch name.
Declaration
[DataMember(Order = 1)]
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The switch type (corresponds to the [VirtualSwitchType] enum.
Declaration
[DataMember(Order = 2)]
public string? Type { get; set; }
Property Value
Type | Description |
---|---|
string |