DSCResources/MSFT_SPWebApplicationAppDomain/MSFT_SPWebApplicationAppDomain.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPWebApplicationAppDomain")]
class MSFT_SPWebApplicationAppDomain : OMI_BaseResource
{
    [Key, Description("The URL of the web application to set the app domain for")] string WebApplication;
    [Key, Description("The zone that this app domain applies to"), ValueMap{"Default","Internet","Intranet","Extranet","Custom"}, Values{"Default","Internet","Intranet","Extranet","Custom"}] string Zone;
    [Required, Description("The domain for apps in this web app zone")] string AppDomain;
    [Write, Description("The port to run apps on")] string Port;
    [Write, Description("Should apps run under SSL")] boolean SSL;
    [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount;
};