CreateVmReservation method of the MSCluster_ClusterService class
Reserves a virtual machine in the cluster.
Syntax
uint32 CreateVmReservation(
[in] uint32 VmMemory,
[in] uint32 VmVirtualCoreCount,
[in] uint32 VmCpuReservation,
[in] uint32 VmFlags,
[in] uint32 TimeSpan,
[in] string ReservationId,
[out] uint32 NodeId
);
Parameters
-
VmMemory [in]
-
The memory size of a virtual machine.
-
VmVirtualCoreCount [in]
-
The number of virtual cores for the virtual machine.
-
VmCpuReservation [in]
-
The CPU reservation of a virtual machine.
-
VmFlags [in]
-
Reserved for future use.
-
TimeSpan [in]
-
The time span before the reservation ages out.
-
ReservationId [in]
-
The virtual machine reservation ID.
-
NodeId [out]
-
On success, returns the node ID on which the virtual machine is reserved.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\MSCluster |
MOF |
|
DLL |
|