Class GrpcAddVmDriveRequest
Requests information about a virtual machine's drives. This request returns a GrpcBaseReply.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcAddVmDriveRequest
Constructors
GrpcAddVmDriveRequest()
Default constructor.
Declaration
public GrpcAddVmDriveRequest()
GrpcAddVmDriveRequest(string, GrpcVirtualDrive)
Constructor.
Declaration
public GrpcAddVmDriveRequest(string machineName, GrpcVirtualDrive drive)
Parameters
Type | Name | Description |
---|---|---|
string | machineName | Specifies the machine name. |
GrpcVirtualDrive | drive | The new drive information. |
Properties
Drive
Specifies the new drive information.
Declaration
[DataMember(Order = 2)]
public GrpcVirtualDrive? Drive { get; set; }
Property Value
Type | Description |
---|---|
GrpcVirtualDrive |
MachineName
Identifies the desired virtual machine.
Declaration
[DataMember(Order = 1)]
public string? MachineName { get; set; }
Property Value
Type | Description |
---|---|
string |