DSCResources/DSC_VMProcessor/DSC_VMProcessor.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("VMProcessor")]
class DSC_VMProcessor : OMI_BaseResource
{
    [Key, Description("Specifies the name of the virtual machine on which the processor is to be configured.")] String VMName;
    [Write, Description("Specifies whether to enable host resource protection. **NOTE:** Only supported on Windows 10 and Server 2016 or higher.")] Boolean EnableHostResourceProtection;
    [Write, Description("Specifies whether nested virtualization is enabled. **NOTE:** Only supported on Windows 10 and Server 2016 or higher.")] Boolean ExposeVirtualizationExtensions;
    [Write, Description("Specifies the maximum thread core per processor core. **NOTE:** Only supported on Windows 10 and Server 2016 or higher.")] Uint64 HwThreadCountPerCore;
    [Write, Description("Specifies the maximum percentage of resources available to the virtual machine processor to be configured. Allowed values range from `0` to `100`.")] Uint64 Maximum;
    [Write, Description("Specifies the maximum number of processors per NUMA node to be configured for the virtual machine.")] Uint32 MaximumCountPerNumaNode;
    [Write, Description("Specifies the maximum number of sockets per NUMA node to be configured for the virtual machine.")] Uint32 MaximumCountPerNumaSocket;
    [Write, Description("Specifies the priority for allocating the physical computer's processing power to this virtual machine relative to others. Allowed values range from `1` to `10000`.")] Uint32 RelativeWeight;
    [Write, Description("Specifies the percentage of processor resources to be reserved for this virtual machine. Allowed values range from `0` to `100`.")] Uint64 Reserve;
    [Write, Description("Specifies the name of the processor resource pool to be used.")] String ResourcePoolName;
    [Write, Description("Specifies whether the virtual processors features are to be limited for compatibility when migrating the virtual machine to another host.")] Boolean CompatibilityForMigrationEnabled;
    [Write, Description("Specifies whether the virtual processor’s features are to be limited for compatibility with older operating systems.")] Boolean CompatibilityForOlderOperatingSystemsEnabled;
    [Write, Description("If set to `$true` then shutdowns and restarts are allowed for the VM when needed for property changes.")] Boolean RestartIfNeeded;
};