DSCResources/DSC_ExchWebServicesVirtualDirectory/DSC_ExchWebServicesVirtualDirectory.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("ExchWebServicesVirtualDirectory")]
class DSC_ExchWebServicesVirtualDirectory : OMI_BaseResource
{
    [Key] String Identity; //The Identity of the EWS Virtual Directory
    [Required, EmbeddedInstance("MSFT_Credential")] String Credential; //Credentials used to establish a remote PowerShell session to Exchange
    [Write] Boolean AllowServiceRestart; //Whether it is OK to recycle the app pool after making changes. Defaults to $true.
 
    //Remaining props correspond directly to Set-WebServicesVirtualDirectory parameters
    //https://technet.microsoft.com/en-us/library/aa997233(v=exchg.160).aspx
    [Write] Boolean BasicAuthentication;
    [Write] Boolean CertificateAuthentication;
    [Write] Boolean DigestAuthentication;
    [Write] String DomainController;
    [Write, ValueMap{"None","Proxy","NoServiceNameCheck","AllowDotlessSpn","ProxyCohosting"}, Values{"None","Proxy","NoServiceNameCheck","AllowDotlessSpn","ProxyCohosting"}] String ExtendedProtectionFlags[];
    [Write] String ExtendedProtectionSPNList[];
    [Write, ValueMap{"None","Allow","Require"}, Values{"None","Allow","Require"}] String ExtendedProtectionTokenChecking;
    [Write] String ExternalUrl;
    [Write, ValueMap{"Off","Low","High", "Error"}, Values{"Off","Low","High", "Error"}] String GzipLevel;
    [Write] String InternalNLBBypassUrl;
    [Write] String InternalUrl;
    [Write] Boolean MRSProxyEnabled;
    [Write] Boolean OAuthAuthentication;
    [Write] Boolean WindowsAuthentication;
    [Write] Boolean WSSecurityAuthentication;
};