Class GrpcRemoveSwitchRequest
Removes a Hyper-V switch. This request returns a GrpcBaseReply.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcRemoveSwitchRequest
Constructors
GrpcRemoveSwitchRequest()
Default constructor.
Declaration
public GrpcRemoveSwitchRequest()
GrpcRemoveSwitchRequest(string, bool)
Constructor.
Declaration
public GrpcRemoveSwitchRequest(string switchName, bool ignoreMissing = false)
Parameters
Type | Name | Description |
---|---|---|
string | switchName | Specifies the switch name. |
bool | ignoreMissing | Optionally specifies that missing items should be ignored. |
Properties
IgnoreMissing
Indicates that missing items should be ignored.
Declaration
public bool? IgnoreMissing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SwitchName
Identifies the desired virtual switch.
Declaration
[DataMember(Order = 1)]
public string? SwitchName { get; set; }
Property Value
Type | Description |
---|---|
string |