DSCResources/MSFT_xVMHyperV/MSFT_xVMHyperV.schema.mof

[ClassVersion("1.0.0"), FriendlyName("xVMHyperV")]
class MSFT_xVMHyperV : OMI_BaseResource
{
    [Key, Description("Name of the VM")] String Name;
    [Required, Description("VHD associated with the VM")] String VhdPath;
    [Write, Description("Virtual switch(es) associated with the VM")] String SwitchName[];
    [Write, Description("State of the VM."), ValueMap{"Running","Paused","Off"}, Values{"Running","Paused","Off"}] String State;
    [Write, Description("Folder where the VM data will be stored")] String Path;
    [Write, Description("Virtual machine generation")] Uint32 Generation;
    [Write, Description("Startup RAM for the VM.")] Uint64 StartupMemory;
    [Write, Description("Minimum RAM for the VM. This enables dynamic memory.")] Uint64 MinimumMemory;
    [Write, Description("Maximum RAM for the VM. This enable dynamic memory.")] Uint64 MaximumMemory;
    [Write, Description("MAC address(es) of the VM NICs.")] String MACAddress[];
    [Write, Description("Processor count for the VM")] Uint32 ProcessorCount;
    [Write, Description("Waits for VM to get valid IP address.")] Boolean WaitForIP;
    [Write, Description("If specified, shutdowns and restarts the VM as needed for property changes")] Boolean RestartIfNeeded;
    [Write, Description("Should the VM be created or deleted"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write, Description("Notes about the VM.")] String Notes;
    [Write, Description("Enable secure boot for Generation 2 VMs.")] Boolean SecureBoot;
    [Write, Description("Enable Guest Service Interface for the VM.")] Boolean EnableGuestService;
    [Write, Description("Enable AutomaticCheckpoints for the VM.")] Boolean AutomaticCheckpointsEnabled;
    [Read, Description("VM unique ID")] String ID;
    [Read, Description("Status of the VM")] String Status;
    [Read, Description("CPU Usage of the VM")] Uint32 CPUUsage;
    [Read, Description("Memory assigned to the VM")] Uint64 MemoryAssigned;
    [Read, Description("Uptime of the VM")] String Uptime;
    [Read, Description("Creation time of the VM")] DateTime CreationTime;
    [Read, Description("Does VM has dynamic memory enabled")] Boolean HasDynamicMemory;
    [Read, Description("Network adapters' IP addresses of the VM")] String NetworkAdapters[];
};