modules/deploy/dsc/custom/cNssm/DscResources/OBJ_cNssm/OBJ_cNssm.schema.mof
[ClassVersion("1.0.0"), FriendlyName("cNssm")]
class OBJ_cNssm : OMI_BaseResource { [Key] string ServiceName; [Write] string Path; [Write] string Arguments[]; [Write] string ServiceDisplayName; [Write] string ServiceDescription; [Write,ValueMap{"$null", "Automatic", "Delayed", "Manual", "Disabled"},Values{"$null", "Automatic", "Delayed", "Manual", "Disabled"}] string StartupType; [Write,EmbeddedInstance("MSFT_Credential")] string Credential; [Write,ValueMap{"$null", "Running", "Stopped", "Paused"},Values{"null", "Running", "Stopped", "Paused"}] string Status; [Write] string NssmPath; [Write, EmbeddedInstance("MSFT_KeyValuePair")] String AdditionalParameters[]; [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; }; |