DSCResources/MSFT_xDSCWebService/MSFT_xDSCWebService.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[ClassVersion("1.0.0"), FriendlyName("xDSCWebService")] 
class MSFT_xDSCWebService : OMI_BaseResource
{
  [Key] string EndpointName;
  [required, Description("Can take the value AllowUnencryptedTraffic for setting up a non SSL based endpoint")]
  string CertificateThumbPrint;
  [write] uint32 Port;
  [write] string PhysicalPath;
  [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
  [write,ValueMap{"Started","Stopped"},Values{"Started", "Stopped"}] string State;
  [write] string DatabasePath;
  [write] string ModulePath;
  [write] string ConfigurationPath;
  [read] string DSCServerUrl;  
  [write] string RegistrationKeyPath;
  [write] boolean AcceptSelfSignedCertificates;
  [required, Description("This property will ensure that the Pull Server is created with the most secure practices")] boolean UseSecurityBestPractices;
  [write,ValueMap{"SecureTLSProtocols"},Values{"SecureTLSProtocols"}] string DisableSecurityBestPractices [];
};