-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from SNikalaichyk/dev
xWebsite - Implemented support for non-HTTP bindings
- Loading branch information
Showing
6 changed files
with
1,967 additions
and
1,419 deletions.
There are no files selected for viewing
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 +1 @@ | ||
DSCResource.Tests | ||
DSCResource.Tests |
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 +1,25 @@ | ||
[ClassVersion("1.0.0")] | ||
Class MSFT_xWebBindingInformation | ||
class MSFT_xWebBindingInformation | ||
{ | ||
[write]UInt16 Port; | ||
[Write,ValueMap{"http", "https"},Values{"http", "https"}] string Protocol; | ||
[write]String IPAddress; | ||
[write]String HostName; | ||
[write]String CertificateThumbprint; | ||
[write,ValueMap{"My", "WebHosting"},Values{"My", "WebHosting"}] string CertificateStoreName; | ||
[write,ValueMap{"0","1","2","3"},Values{"0","1","2","3"}] string SSLFlags; | ||
[Write,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,ValueMap{"My", "WebHosting"},Values{"My", "WebHosting"}] String CertificateStoreName; | ||
[Write,ValueMap{"0","1","2","3"},Values{"0","1","2","3"}] String SslFlags; | ||
}; | ||
|
||
|
||
[ClassVersion("2.0.0"), FriendlyName("xWebsite")] | ||
class MSFT_xWebsite : 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("MSFT_xWebBindingInformation"), 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[]; | ||
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure; | ||
[Key] String Name; | ||
[Required] 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; | ||
}; | ||
|
||
|
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
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
Oops, something went wrong.