DSCResources/MSFT_nxServiceResource/MSFT_nxServiceResource.schema.mof

[ClassVersion("1.0.0"),FriendlyName("nxService")]
class MSFT_nxServiceResource : OMI_BaseResource
{
    [key] string Name;
    [required, write,ValueMap{"init", "upstart", "systemd"},Values{"init","upstart","systemd"}] string Controller;
    [write] boolean Enabled;
    [write,ValueMap{"Running", "Stopped"},Values{"Running", "Stopped"}] string State;
    [read] boolean IsEnabled;
    [read] string Status;
    [read] string Path;
};