DSCResources/MSFT_SPAccessServiceApp/MSFT_SPAccessServiceApp.schema.mof

1
2
3
4
5
6
7
8
[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 PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount; };