DSCResources/ArcGIS_WindowsService/ArcGIS_WindowsService.schema.mof


[ClassVersion("1.0.0"),FriendlyName("ArcGIS_WindowsService")]
class ArcGIS_WindowsService : OMI_BaseResource
{
  [key] string Name;
  [key,ValueMap{"Running", "Stopped"},Values{"Running", "Stopped"}] string State;
  [write,ValueMap{"Automatic", "Manual", "Disabled"},Values{"Automatic", "Manual", "Disabled"}] string StartupType;
  [write,ValueMap{"LocalSystem", "LocalService", "NetworkService"},Values{"LocalSystem", "LocalService", "NetworkService"}] string BuiltInAccount;
  [write,EmbeddedInstance("MSFT_Credential")] string Credential;
  [read] string DisplayName;
  [read] string Description;
  [read] string Path;
  [read] string Dependencies[];
};