modules/deploy/dsc/custom/cIIS/DscResources/OBJ_cWebsite/OBJ_cWebsite.schema.mof
[ClassVersion("1.0.0")]
Class OBJ_cWebBindingInformation { [write]UInt16 Port; [Write,ValueMap{"http", "https"},Values{"http", "https"}] string Protocol; [write]String IPAddress; [write]String HostName; [write]Boolean SelfSignedCertificate; [write]String CertificateThumbprint; [write,ValueMap{"My", "WebHosting"},Values{"My", "WebHosting"}] string CertificateStoreName; [write] string SSLFlags; }; [ClassVersion("2.0.0"), FriendlyName("cWebsite")] class OBJ_cWebsite : OMI_BaseResource { [Key] string Name; [Required] string PhysicalPath; [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; [write,ValueMap{"Started","Stopped"},Values{"Started", "Stopped"}] string State; [write, EmbeddedInstance("OBJ_cWebBindingInformation"), Description("Hashtable containing binding information (Port, Protocol, IPAddress, HostName, CertificateThumbPrint, CertificateStore)")] string BindingInfo[]; [write] string ApplicationPool; [read] string Id; [write, Description("The default pages for the website")] String DefaultPage[]; }; |