DSCResources/MSFT_xExchMapiVirtualDirectory/MSFT_xExchMapiVirtualDirectory.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

[ClassVersion("1.0.0.0"), FriendlyName("xExchMapiVirtualDirectory")]
class MSFT_xExchMapiVirtualDirectory : OMI_BaseResource
{
    [Key] String Identity; //Identity of Mapi Vdir. Should be in the format 'SERVERNAME\Vdir', as in 'SERVER\mapi (Default Web Site)'
    [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 Mapi App Pools after making changes

    //Remaining props correspond directly to Set-MapiVirtualDirectory parameters
    //http://technet.microsoft.com/en-US/library/dn595082%28v=exchg.150%29.aspx
    [Write] String DomainController;
    [Write] String ExternalUrl;
    [Required] String IISAuthenticationMethods[];
    [Write] String InternalUrl;
};