DSCResources/MSFT_xExchMailboxDatabase/MSFT_xExchMailboxDatabase.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

[ClassVersion("1.0.0.0"), FriendlyName("xExchMailboxDatabase")]
class MSFT_xExchMailboxDatabase : OMI_BaseResource
{
    [Key] String Name; //Name of the database
    [Required, EmbeddedInstance("MSFT_Credential")] String Credential; //Credentials used to establish a remote Powershell session to Exchange    
    [Required] Uint32 DatabaseCopyCount; //The number of copies that the database will have once fully configured
    [Required] String Server; //Server to create the database on 
    [Required] String EdbFilePath; //Full path to where the database file will be located
    [Required] String LogFolderPath; //Folder where logs for the DB will exist
    [Write] String AdServerSettingsPreferredServer; //An optional domain controller to pass to Set-AdServerSettings -PreferredServer
    [Write] Boolean SkipInitialDatabaseMount; //Whether the initial mount of databases should be skipped after database creation

    //Remaining props correspond to Set-MailboxDatabase parameters
    //http://technet.microsoft.com/en-us/library/bb123971%28v=exchg.150%29.aspx
    [Write] Boolean AllowServiceRestart;
    [Write] Boolean AutoDagExcludeFromMonitoring;
    [Write] Boolean BackgroundDatabaseMaintenance;
    [Write] String CalendarLoggingQuota;
    [Write] Boolean CircularLoggingEnabled; //Will not be enabled until all copies have been added
    [Write, ValueMap{"None","SecondCopy","SecondDatacenter","AllDatacenters","AllCopies"}, Values{"None","SecondCopy","SecondDatacenter","AllDatacenters","AllCopies"}] String DataMoveReplicationConstraint;
    [Write] String DeletedItemRetention;
    [Write] String DomainController;
    [Write] String EventHistoryRetentionPeriod;
    [Write] Boolean IndexEnabled;
    [Write] Boolean IsExcludedFromProvisioning;
    [Write] String IssueWarningQuota;
    [Write] Boolean IsSuspendedFromProvisioning;
    [Write] String JournalRecipient;
    [Write] String MailboxRetention;
    [Write] Boolean MountAtStartup;
    [Write] String OfflineAddressBook;
    [Write] String ProhibitSendQuota;
    [Write] String ProhibitSendReceiveQuota;
    [Write] String RecoverableItemsQuota;
    [Write] String RecoverableItemsWarningQuota;
    [Write] Boolean RetainDeletedItemsUntilBackup;
};