Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xWebAdministration: Line endings has been fixed (#399)
- Line endings was fixed in files that was committed with wrong line ending.
- Loading branch information
Showing
7 changed files
with
314 additions
and
313 deletions.
There are no files selected for viewing
42 changes: 21 additions & 21 deletions
42
DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
[ClassVersion("1.0.0")] | ||
class MSFT_xLogCustomField | ||
{ | ||
[Required, Description("Name for the custom field")] String LogFieldName; | ||
[Required, Description("Name for the source type")] String SourceName; | ||
[Required, Description("Specify the source type"), ValueMap{"RequestHeader","ResponseHeader","ServerVariable"},Values{"RequestHeader","ResponseHeader","ServerVariable"}] String SourceType; | ||
}; | ||
[ClassVersion("1.0.0"), FriendlyName("xIisLogging")] | ||
class MSFT_xIisLogging : OMI_BaseResource | ||
{ | ||
[Key, 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_xLogCustomField"), Description("Custom logging field information in the form of an array of embedded instances of MSFT_xLogCustomField CIM class")] String LogCustomFields[]; | ||
}; | ||
[ClassVersion("1.0.0")] | ||
class MSFT_xLogCustomField | ||
{ | ||
[Required, Description("Name for the custom field")] String LogFieldName; | ||
[Required, Description("Name for the source type")] String SourceName; | ||
[Required, Description("Specify the source type"), ValueMap{"RequestHeader","ResponseHeader","ServerVariable"},Values{"RequestHeader","ResponseHeader","ServerVariable"}] String SourceType; | ||
}; | ||
|
||
[ClassVersion("1.0.0"), FriendlyName("xIisLogging")] | ||
class MSFT_xIisLogging : OMI_BaseResource | ||
{ | ||
[Key, 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_xLogCustomField"), Description("Custom logging field information in the form of an array of embedded instances of MSFT_xLogCustomField CIM class")] String LogCustomFields[]; | ||
}; | ||
|
||
|
16 changes: 8 additions & 8 deletions
16
DSCResources/MSFT_xIisMimeTypeMapping/MSFT_xIisMimeTypeMapping.schema.mof
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[ClassVersion("1.0.0"), FriendlyName("xIisMimeTypeMapping")] | ||
class MSFT_xIisMimeTypeMapping : OMI_BaseResource | ||
{ | ||
[Key, Description("This can be either an IIS configuration path in the format computername/webroot/apphost, or the IIS module path in this format IIS:\\sites\\Default Web Site.")] String ConfigurationPath; | ||
[Key, Description("The file extension to map such as .html or .xml.")] string Extension; | ||
[Key, Description("The MIME type to map that extension to such as text/html.")] string MimeType; | ||
[Required, Description("Ensures that the MIME type mapping is Present or Absent."),ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; | ||
}; | ||
[ClassVersion("1.0.0"), FriendlyName("xIisMimeTypeMapping")] | ||
class MSFT_xIisMimeTypeMapping : OMI_BaseResource | ||
{ | ||
[Key, Description("This can be either an IIS configuration path in the format computername/webroot/apphost, or the IIS module path in this format IIS:\\sites\\Default Web Site.")] String ConfigurationPath; | ||
[Key, Description("The file extension to map such as .html or .xml.")] string Extension; | ||
[Key, Description("The MIME type to map that extension to such as text/html.")] string MimeType; | ||
[Required, Description("Ensures that the MIME type mapping is Present or Absent."),ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; | ||
}; |
14 changes: 7 additions & 7 deletions
14
DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ClassVersion("1.0.0"), FriendlyName("xSSLSettings")] | ||
class MSFT_xSSLSettings : OMI_BaseResource | ||
{ | ||
[Key, Description("Name of website in which to modify the SSL Settings")] String Name; | ||
[Required, Description("The Bindings in which to modify for the website"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String Bindings[]; | ||
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"},Description("Whether the bindings should be present or absent")] String Ensure; | ||
}; | ||
[ClassVersion("1.0.0"), FriendlyName("xSSLSettings")] | ||
class MSFT_xSSLSettings : OMI_BaseResource | ||
{ | ||
[Key, Description("Name of website in which to modify the SSL Settings")] String Name; | ||
[Required, Description("The Bindings in which to modify for the website"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String Bindings[]; | ||
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"},Description("Whether the bindings should be present or absent")] String Ensure; | ||
}; |
Oops, something went wrong.