DSCResources/MSFT_SPAccessServiceApp/MSFT_SPAccessServiceApp.schema.mof

/*
**Description**
 
This resource is responsible for creating Access Services Application instances within the local SharePoint farm.
The resource will provision and configure the Access Services Service Application.
 
**Example**
 
    SPAccessServiceApp AccessServices
    {
        Name = "Access Services Service Application"
        ApplicationPool = "SharePoint Web Services"
        DatabaseServer = "sql.contoso.local"
        InstallAccount = $InstallAccount
    }
 
*/
[ClassVersion("1.0.0.0"), FriendlyName("SPAccessServiceApp")]
class MSFT_SPAccessServiceApp : OMI_BaseResource
{
    [Key, Description("The name of the service application")] string Name;
    [Required, Description("The name of the application pool to run the service app in")] string ApplicationPool;
    [Required, Description("The name of the database server to host Access Services databases")] string DatabaseServer;
    [Write, Description("Present ensures service app exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsAccount if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount;
};