DSCResources/Grani_PendingReboot/Grani_PendingReboot.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
[ClassVersion("1.0.0.0"), FriendlyName("cPendingReboot")]
class Grani_PendingReboot : OMI_BaseResource
{
    [Key, Description("Describe Identifier Key name.")] String Name;
    [Write, Description("Describe wait sec before reboot.")] Uint32 WaitTimeSec;
    [Write, Description("Force flag for Reboot")] Boolean Force;
    [Write, Description("WhatIf for Reboot execution.")] Boolean WhatIf;
    [Write, Description("Trigger reboot with Component Based Service.")] Boolean TriggerComponentBasedServicing;
    [Write, Description("Trigger reboot with Windows Update.")] Boolean TriggerWindowsUpdate;
    [Write, Description("Trigger reboot with Pending FileRename.")] Boolean TriggerPendingFileRename;
    [Write, Description("Trigger reboot with Pending Computer Rename.")] Boolean TriggerPendingComputerRename;
    [Write, Description("Trigger reboot with CcmClient SDK.")] Boolean TriggerCcmClientSDK;
    [Read, Description("Describe desired state or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Read, Description("Reboot required for Windows Component.")] Boolean ComponentBasedServicing;
    [Read, Description("Reboot required for Windows Update.")] Boolean WindowsUpdate;
    [Read, Description("Reboot required for File Name update.")] Boolean PendingFileRename;
    [Read, Description("Reboot required for ComputerName change.")] Boolean PendingComputerRename;
    [Read] Boolean CcmClientSDK;
};