DSCResources/Nana_nService/Nana_nService.schema.mof

 
[ClassVersion("0.1.0.0"), FriendlyName("nService")]
class Nana_nService : OMI_BaseResource
{
    [Write, Description("StartupType to set for the service"), ValueMap{"Automatic","Manual","Disabled"}, Values{"Automatic","Manual","Disabled"}] String StartupType;
    [Key, Description("Name of the service")] String Name;
    [Read, Description("Display name for the service, if not specified, Name is used")] String DisplayName;
    [Required, Description("State to set the service to"), ValueMap{"Running","Stopped"}, Values{"Running","Stopped"}] String State;
};