Class GrpcRemoveVmRequest
Removes a virtual machine. This request returns a GrpcBaseReply.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcRemoveVmRequest
Constructors
GrpcRemoveVmRequest()
Default constructor.
Declaration
public GrpcRemoveVmRequest()
GrpcRemoveVmRequest(string, bool)
Constructor.
Declaration
public GrpcRemoveVmRequest(string machineName, bool keepDrives = false)
Parameters
Type | Name | Description |
---|---|---|
string | machineName | Specifies the machine name. |
bool | keepDrives | Optionally retains the VM disk files. |
Properties
KeepDrives
Indicates whether the virtual machine drives should be retained after removing the machine.
Declaration
[DataMember(Order = 2)]
public bool KeepDrives { get; set; }
Property Value
Type | Description |
---|---|
bool |
MachineName
The machine name.
Declaration
[DataMember(Order = 1)]
public string? MachineName { get; set; }
Property Value
Type | Description |
---|---|
string |