DscResources/VstsAgent/VstsAgent.schema.mof

 
[ClassVersion("1.0.0"), FriendlyName("VstsAgent")]
class VstsAgent : OMI_BaseResource
{
  [Key] string Name;
  [Required] string ServerUrl;
  [Required] string VstsAccount;
  [Required] string VstsPool;
  [Required] string PoolId;
  [Required] string RunAsAccount;
  [Required] string Path;
  [Required] string Token;
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [write,ValueMap{"Running","Stopped"},Values{"Running", "Stopped"}] string State;
  [write] string Version;
};