diff --git a/DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof b/DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof index a6c03d1c4..8e76449cf 100644 --- a/DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof +++ b/DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof @@ -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[]; +}; + + diff --git a/DSCResources/MSFT_xIisMimeTypeMapping/MSFT_xIisMimeTypeMapping.schema.mof b/DSCResources/MSFT_xIisMimeTypeMapping/MSFT_xIisMimeTypeMapping.schema.mof index 5351bf70a..8764789d9 100644 --- a/DSCResources/MSFT_xIisMimeTypeMapping/MSFT_xIisMimeTypeMapping.schema.mof +++ b/DSCResources/MSFT_xIisMimeTypeMapping/MSFT_xIisMimeTypeMapping.schema.mof @@ -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; +}; diff --git a/DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof b/DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof index 8239042bf..a3c5dbc67 100644 --- a/DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof +++ b/DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof @@ -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; +}; diff --git a/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1 b/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1 index 6def1b06a..be85052d6 100644 --- a/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1 +++ b/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1 @@ -1,244 +1,244 @@ -# Load the Helper Module -Import-Module -Name "$PSScriptRoot\..\Helper.psm1" - -# Localized messages -data LocalizedData -{ - # culture="en-US" - ConvertFrom-StringData -StringData @' - NoWebAdministrationModule = Please ensure that WebAdministration module is installed. - SettingValue = Changing default value '{0}' to '{1}' - ValueOk = Default value '{0}' is already '{1}' - VerboseGetTargetResource = Get-TargetResource has been run. -'@ -} - -function Get-TargetResource -{ - <# - .SYNOPSIS - This will return a hashtable of results - #> - - [CmdletBinding()] - [OutputType([System.Collections.Hashtable])] - param - ( - [Parameter(Mandatory = $true)] - [ValidateSet('Machine')] - [System.String] - $ApplyTo - ) - - Assert-Module - - Write-Verbose -Message $LocalizedData.VerboseGetTargetResource - - return @{ - ManagedRuntimeVersion = (Get-Value -Path '' -Name 'managedRuntimeVersion') - IdentityType = (Get-Value -Path 'processModel' -Name 'identityType') - } -} - -function Set-TargetResource -{ - <# - .SYNOPSIS - This will set the desired state - #> - - [CmdletBinding()] - [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSDSCUseVerboseMessageInDSCResource", "")] - param - ( - [Parameter(Mandatory = $true)] - [ValidateSet('Machine')] - [System.String] - $ApplyTo, - - [Parameter()] - [ValidateSet('','v2.0','v4.0')] - [System.String] - $ManagedRuntimeVersion, - - [Parameter()] - [ValidateSet('ApplicationPoolIdentity','LocalService','LocalSystem','NetworkService')] - [System.String] - $IdentityType - ) - - Assert-Module - - Set-Value -Path '' -Name 'managedRuntimeVersion' -NewValue $ManagedRuntimeVersion - Set-Value -Path 'processModel' -Name 'identityType' -NewValue $IdentityType -} - -function Test-TargetResource -{ - <# - .SYNOPSIS - This tests the desired state. If the state is not correct it will return $false. - If the state is correct it will return $true - #> - - [CmdletBinding()] - [OutputType([System.Boolean])] - [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSDSCUseVerboseMessageInDSCResource", "")] - param - ( - [Parameter(Mandatory = $true)] - [ValidateSet('Machine')] - [System.String] - $ApplyTo, - - [Parameter()] - [ValidateSet('','v2.0','v4.0')] - [System.String] - $ManagedRuntimeVersion, - - [Parameter()] - [ValidateSet('ApplicationPoolIdentity','LocalService','LocalSystem','NetworkService')] - [System.String] - $IdentityType - ) - - Assert-Module - - if (-not((Confirm-Value -Path '' ` - -Name 'managedRuntimeVersion' ` - -NewValue $ManagedRuntimeVersion))) - { - return $false - } - - if (-not((Confirm-Value -Path 'processModel' ` - -Name 'identityType' ` - -NewValue $IdentityType))) - { - return $false - } - - return $true -} - -#region Helper Functions - -function Confirm-Value -{ - [CmdletBinding()] - [OutputType([System.Boolean])] - param - ( - [Parameter(Mandatory = $true)] - [AllowEmptyString()] - [System.String] - $Path, - - [Parameter(Mandatory = $true)] - [System.String] - $Name, - - [Parameter()] - [System.String] - $NewValue - ) - - if (-not($NewValue)) - { - # if no new value was specified, we assume this value is okay. - return $true - } - - $existingValue = Get-Value -Path $Path -Name $Name - if ($existingValue -ne $NewValue) - { - return $false - } - else - { - $relPath = $Path + '/' + $Name - Write-Verbose($LocalizedData.ValueOk -f $relPath,$NewValue); - return $true - } -} - -function Set-Value -{ - [CmdletBinding()] - param - ( - [Parameter(Mandatory = $true)] - [AllowEmptyString()] - [System.String] - $Path, - - [Parameter(Mandatory = $true)] - [System.String] - $Name, - - [Parameter()] - [System.String] - $NewValue - ) - - # if the variable doesn't exist, the user doesn't want to change this value - if (-not($NewValue)) - { - return - } - - $existingValue = Get-Value -Path $Path -Name $Name - if ($existingValue -ne $NewValue) - { - if ($Path -ne '') - { - $Path = '/' + $Path - } - - Set-WebConfigurationProperty ` - -PSPath 'MACHINE/WEBROOT/APPHOST' ` - -Filter "system.applicationHost/applicationPools/applicationPoolDefaults$Path" ` - -Name $Name ` - -Value "$NewValue" - - $relPath = $Path + '/' + $Name - Write-Verbose($LocalizedData.SettingValue -f $relPath,$NewValue); - } -} - -function Get-Value -{ - [CmdletBinding()] - param - ( - [Parameter(Mandatory = $true)] - [AllowEmptyString()] - [System.String] - $Path, - - [Parameter(Mandatory = $true)] - [System.String] - $Name - ) - - if ($Path -ne '') - { - $Path = '/' + $Path - } - - $result = Get-WebConfigurationProperty ` - -PSPath 'MACHINE/WEBROOT/APPHOST' ` - -Filter "system.applicationHost/applicationPools/applicationPoolDefaults$Path" ` - -Name $Name - - if ($result -is [Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute]) - { - return $result.Value - } else { - return $result - } -} - -#endregion - -Export-ModuleMember -Function *-TargetResource +# Load the Helper Module +Import-Module -Name "$PSScriptRoot\..\Helper.psm1" + +# Localized messages +data LocalizedData +{ + # culture="en-US" + ConvertFrom-StringData -StringData @' + NoWebAdministrationModule = Please ensure that WebAdministration module is installed. + SettingValue = Changing default value '{0}' to '{1}' + ValueOk = Default value '{0}' is already '{1}' + VerboseGetTargetResource = Get-TargetResource has been run. +'@ +} + +function Get-TargetResource +{ + <# + .SYNOPSIS + This will return a hashtable of results + #> + + [CmdletBinding()] + [OutputType([System.Collections.Hashtable])] + param + ( + [Parameter(Mandatory = $true)] + [ValidateSet('Machine')] + [System.String] + $ApplyTo + ) + + Assert-Module + + Write-Verbose -Message $LocalizedData.VerboseGetTargetResource + + return @{ + ManagedRuntimeVersion = (Get-Value -Path '' -Name 'managedRuntimeVersion') + IdentityType = (Get-Value -Path 'processModel' -Name 'identityType') + } +} + +function Set-TargetResource +{ + <# + .SYNOPSIS + This will set the desired state + #> + + [CmdletBinding()] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSDSCUseVerboseMessageInDSCResource", "")] + param + ( + [Parameter(Mandatory = $true)] + [ValidateSet('Machine')] + [System.String] + $ApplyTo, + + [Parameter()] + [ValidateSet('','v2.0','v4.0')] + [System.String] + $ManagedRuntimeVersion, + + [Parameter()] + [ValidateSet('ApplicationPoolIdentity','LocalService','LocalSystem','NetworkService')] + [System.String] + $IdentityType + ) + + Assert-Module + + Set-Value -Path '' -Name 'managedRuntimeVersion' -NewValue $ManagedRuntimeVersion + Set-Value -Path 'processModel' -Name 'identityType' -NewValue $IdentityType +} + +function Test-TargetResource +{ + <# + .SYNOPSIS + This tests the desired state. If the state is not correct it will return $false. + If the state is correct it will return $true + #> + + [CmdletBinding()] + [OutputType([System.Boolean])] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSDSCUseVerboseMessageInDSCResource", "")] + param + ( + [Parameter(Mandatory = $true)] + [ValidateSet('Machine')] + [System.String] + $ApplyTo, + + [Parameter()] + [ValidateSet('','v2.0','v4.0')] + [System.String] + $ManagedRuntimeVersion, + + [Parameter()] + [ValidateSet('ApplicationPoolIdentity','LocalService','LocalSystem','NetworkService')] + [System.String] + $IdentityType + ) + + Assert-Module + + if (-not((Confirm-Value -Path '' ` + -Name 'managedRuntimeVersion' ` + -NewValue $ManagedRuntimeVersion))) + { + return $false + } + + if (-not((Confirm-Value -Path 'processModel' ` + -Name 'identityType' ` + -NewValue $IdentityType))) + { + return $false + } + + return $true +} + +#region Helper Functions + +function Confirm-Value +{ + [CmdletBinding()] + [OutputType([System.Boolean])] + param + ( + [Parameter(Mandatory = $true)] + [AllowEmptyString()] + [System.String] + $Path, + + [Parameter(Mandatory = $true)] + [System.String] + $Name, + + [Parameter()] + [System.String] + $NewValue + ) + + if (-not($NewValue)) + { + # if no new value was specified, we assume this value is okay. + return $true + } + + $existingValue = Get-Value -Path $Path -Name $Name + if ($existingValue -ne $NewValue) + { + return $false + } + else + { + $relPath = $Path + '/' + $Name + Write-Verbose($LocalizedData.ValueOk -f $relPath,$NewValue); + return $true + } +} + +function Set-Value +{ + [CmdletBinding()] + param + ( + [Parameter(Mandatory = $true)] + [AllowEmptyString()] + [System.String] + $Path, + + [Parameter(Mandatory = $true)] + [System.String] + $Name, + + [Parameter()] + [System.String] + $NewValue + ) + + # if the variable doesn't exist, the user doesn't want to change this value + if (-not($NewValue)) + { + return + } + + $existingValue = Get-Value -Path $Path -Name $Name + if ($existingValue -ne $NewValue) + { + if ($Path -ne '') + { + $Path = '/' + $Path + } + + Set-WebConfigurationProperty ` + -PSPath 'MACHINE/WEBROOT/APPHOST' ` + -Filter "system.applicationHost/applicationPools/applicationPoolDefaults$Path" ` + -Name $Name ` + -Value "$NewValue" + + $relPath = $Path + '/' + $Name + Write-Verbose($LocalizedData.SettingValue -f $relPath,$NewValue); + } +} + +function Get-Value +{ + [CmdletBinding()] + param + ( + [Parameter(Mandatory = $true)] + [AllowEmptyString()] + [System.String] + $Path, + + [Parameter(Mandatory = $true)] + [System.String] + $Name + ) + + if ($Path -ne '') + { + $Path = '/' + $Path + } + + $result = Get-WebConfigurationProperty ` + -PSPath 'MACHINE/WEBROOT/APPHOST' ` + -Filter "system.applicationHost/applicationPools/applicationPoolDefaults$Path" ` + -Name $Name + + if ($result -is [Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute]) + { + return $result.Value + } else { + return $result + } +} + +#endregion + +Export-ModuleMember -Function *-TargetResource diff --git a/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.schema.mof b/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.schema.mof index 99b2f22c9..a8df17059 100644 --- a/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.schema.mof +++ b/DSCResources/MSFT_xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.schema.mof @@ -1,8 +1,8 @@ - -[ClassVersion("1.0.0.0"), FriendlyName("xWebAppPoolDefaults")] -class MSFT_xWebAppPoolDefaults : OMI_BaseResource -{ - [Key, Description("Dummy value because we need a key, always 'Machine'"), ValueMap{"Machine"}, Values{"Machine"}] string ApplyTo; - [write, Description("applicationPools/applicationPoolDefaults/managedRuntimeVersion"), ValueMap{"","v2.0","v4.0"}, Values{"","v2.0","v4.0"}] string ManagedRuntimeVersion; - [write, Description("applicationPools/applicationPoolDefaults/processModel/identityType"), ValueMap{"ApplicationPoolIdentity","LocalService","LocalSystem","NetworkService"}, Values{"ApplicationPoolIdentity","LocalService","LocalSystem","NetworkService"}] string IdentityType; -}; + +[ClassVersion("1.0.0.0"), FriendlyName("xWebAppPoolDefaults")] +class MSFT_xWebAppPoolDefaults : OMI_BaseResource +{ + [Key, Description("Dummy value because we need a key, always 'Machine'"), ValueMap{"Machine"}, Values{"Machine"}] string ApplyTo; + [write, Description("applicationPools/applicationPoolDefaults/managedRuntimeVersion"), ValueMap{"","v2.0","v4.0"}, Values{"","v2.0","v4.0"}] string ManagedRuntimeVersion; + [write, Description("applicationPools/applicationPoolDefaults/processModel/identityType"), ValueMap{"ApplicationPoolIdentity","LocalService","LocalSystem","NetworkService"}, Values{"ApplicationPoolIdentity","LocalService","LocalSystem","NetworkService"}] string IdentityType; +}; diff --git a/DSCResources/MSFT_xWebApplication/MSFT_xWebApplication.schema.mof b/DSCResources/MSFT_xWebApplication/MSFT_xWebApplication.schema.mof index 3b8da4572..cbd1dcd76 100644 --- a/DSCResources/MSFT_xWebApplication/MSFT_xWebApplication.schema.mof +++ b/DSCResources/MSFT_xWebApplication/MSFT_xWebApplication.schema.mof @@ -1,25 +1,25 @@ -[ClassVersion("1.0.0")] -class MSFT_xWebApplicationAuthenticationInformation -{ - [Write] Boolean Anonymous; - [Write] Boolean Basic; - [Write] Boolean Digest; - [Write] Boolean Windows; -}; - -[ClassVersion("1.0.0.0"), FriendlyName("xWebApplication")] -class MSFT_xWebApplication : OMI_BaseResource -{ - [Key, Description("Name of website with which web application is associated")] String Website; - [Key, Description("Name of web application")] String Name; - [Required, Description("Web application pool for the web application")] String WebAppPool; - [Required, Description("Physical path for the web application directory")] String PhysicalPath; - [Write, Description("Whether web application should be present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; - [Write, Description("SSLFlags for the application"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String SslFlags[]; - [write, EmbeddedInstance("MSFT_xWebApplicationAuthenticationInformation"), Description("Hashtable containing authentication information (Anonymous, Basic, Digest, Windows)")] String AuthenticationInfo; - [Write, Description ("Allows a Application to automatically start without a request")] Boolean PreloadEnabled; - [Write, Description ("Enables Autostart on an Application.")] Boolean ServiceAutoStartEnabled; - [Write, Description ("Adds a AutostartProvider")] String ServiceAutoStartProvider; - [Write, Description ("Adds a AutostartProvider ApplicationType")] String ApplicationType; - [Write, Description ("Adds EnabledProtocols on an Application"), ValueMap{"http","https","net.tcp","net.msmq","net.pipe"},Values{"http","https","net.tcp","net.msmq","net.pipe"}] String EnabledProtocols[]; -}; +[ClassVersion("1.0.0")] +class MSFT_xWebApplicationAuthenticationInformation +{ + [Write] Boolean Anonymous; + [Write] Boolean Basic; + [Write] Boolean Digest; + [Write] Boolean Windows; +}; + +[ClassVersion("1.0.0.0"), FriendlyName("xWebApplication")] +class MSFT_xWebApplication : OMI_BaseResource +{ + [Key, Description("Name of website with which web application is associated")] String Website; + [Key, Description("Name of web application")] String Name; + [Required, Description("Web application pool for the web application")] String WebAppPool; + [Required, Description("Physical path for the web application directory")] String PhysicalPath; + [Write, Description("Whether web application should be present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; + [Write, Description("SSLFlags for the application"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String SslFlags[]; + [write, EmbeddedInstance("MSFT_xWebApplicationAuthenticationInformation"), Description("Hashtable containing authentication information (Anonymous, Basic, Digest, Windows)")] String AuthenticationInfo; + [Write, Description ("Allows a Application to automatically start without a request")] Boolean PreloadEnabled; + [Write, Description ("Enables Autostart on an Application.")] Boolean ServiceAutoStartEnabled; + [Write, Description ("Adds a AutostartProvider")] String ServiceAutoStartProvider; + [Write, Description ("Adds a AutostartProvider ApplicationType")] String ApplicationType; + [Write, Description ("Adds EnabledProtocols on an Application"), ValueMap{"http","https","net.tcp","net.msmq","net.pipe"},Values{"http","https","net.tcp","net.msmq","net.pipe"}] String EnabledProtocols[]; +}; diff --git a/README.md b/README.md index 4f2536a94..54c76768d 100644 --- a/README.md +++ b/README.md @@ -320,6 +320,7 @@ This resource manages the IIS configuration section locking (overrideMode) to co * Update appveyor.yml to use the default template. * Added default template file .gitattributes, and added default settings for Visual Studio Code. +* Line endings was fixed in files that was committed with wrong line ending. ### 2.2.0.0