DSCResources/MSFT_SPContentDatabase/MSFT_SPContentDatabase.schema.mof

1
2
3
4
5
6
7
8
9
10
11
[ClassVersion("1.0.0.0"), FriendlyName("SPContentDatabase")]
class MSFT_SPContentDatabase : OMI_BaseResource
{
    [Key, Description("Specifies the name of the content database")] String Name;
    [Write, Description("
The name of the database server to host the content DB")] string DatabaseServer;
    [Required, Description("
The URL of the web application")] string WebAppUrl;
    [Write, Description("
Should the database be enabled")] Boolean Enabled;
    [Write, Description("
Specify the site collection warning limit for the content database")] Uint16 WarningSiteCount;
    [Write, Description("
Specify the site collection maximum limit for the content database")] Uint16 MaximumSiteCount;
    [Write, Description("
Present to create this database, absent to ensure it does not exist"), 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; };