-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathMSFT_xWebsite.schema.mof
55 lines (52 loc) · 3.7 KB
/
MSFT_xWebsite.schema.mof
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[ClassVersion("1.0.0")]
class MSFT_xWebBindingInformation
{
[Required,ValueMap{"http","https","msmq.formatname","net.msmq","net.pipe","net.tcp"},Values{"http","https","msmq.formatname","net.msmq","net.pipe","net.tcp"}] String Protocol;
[Write] String BindingInformation;
[Write] String IPAddress;
[Write] UInt16 Port;
[Write] String HostName;
[Write] String CertificateThumbprint;
[Write] String CertificateSubject;
[Write,ValueMap{"My", "WebHosting"},Values{"My", "WebHosting"}] String CertificateStoreName;
[Write,ValueMap{"0","1","2","3"},Values{"0","1","2","3"}] String SslFlags;
};
[ClassVersion("1.0.0")]
class MSFT_xWebAuthenticationInformation
{
[Write] Boolean Anonymous;
[Write] Boolean Basic;
[Write] Boolean Digest;
[Write] Boolean Windows;
};
[ClassVersion("1.0.0")]
class MSFT_xLogCustomFieldInformation
{
[Write] String LogFieldName;
[Write] String SourceName;
[Write, ValueMap{"RequestHeader","ResponseHeader","ServerVariable"},Values{"RequestHeader","ResponseHeader","ServerVariable"}] String SourceType;
};
[ClassVersion("2.0.0"), FriendlyName("xWebsite")]
class MSFT_xWebsite : OMI_BaseResource
{
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure;
[Key] String Name;
[Write] String PhysicalPath;
[Write,ValueMap{"Started","Stopped"},Values{"Started", "Stopped"}] String State;
[Write] String ApplicationPool;
[Write, EmbeddedInstance("MSFT_xWebBindingInformation"), Description("Website's binding information in the form of an array of embedded instances of the MSFT_xWebBindingInformation CIM class.")] String BindingInfo[];
[Write] String DefaultPage[];
[Write] String EnabledProtocols;
[write, EmbeddedInstance("MSFT_xWebAuthenticationInformation"), Description("Hashtable containing authentication information (Anonymous, Basic, Digest, Windows)")] String AuthenticationInfo;
[Write, Description ("Allows the Website to automatically start without a request")] Boolean PreloadEnabled;
[Write, Description ("Enables Autostart on a Website.")] Boolean ServiceAutoStartEnabled;
[Write, Description ("Adds a AutostartProvider")] String ServiceAutoStartProvider;
[Write, Description ("Adds a AutostartProvider ApplicationType")] String ApplicationType;
[Write, Description ("The directory to be used for logfiles")] String LogPath;
[Write, Description ("The W3C logging fields"), ValueMap{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"},Values{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"}] String LogFlags[];
[Write, Description ("How often the log file should rollover"), ValueMap{"Hourly","Daily","Weekly","Monthly","MaxSize"},Values{"Hourly","Daily","Weekly","Monthly","MaxSize"}] String LogPeriod;
[Write, Description ("How large the file should be before it is truncated")] String LogTruncateSize;
[Write, Description ("Use the localtime for file naming and rollover")] Boolean LoglocalTimeRollover;
[Write, Description ("Format of the Logfiles. Only W3C supports LogFlags"), ValueMap{"IIS","W3C","NCSA"}, Values{"IIS","W3C","NCSA"}] String LogFormat;
[Write, EmbeddedInstance("MSFT_xLogCustomFieldInformation"), Description("Custom logging field information in the form of an array of embedded instances of MSFT_xLogCustomFieldInformation CIM class")] String LogCustomFields[];
};