DSCResources/MSFT_xExchDatabaseAvailabilityGroupNetwork/MSFT_xExchDatabaseAvailabilityGroupNetwork.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

[ClassVersion("1.0.0.0"), FriendlyName("xExchDatabaseAvailabilityGroupNetwork")]
class MSFT_xExchDatabaseAvailabilityGroupNetwork : OMI_BaseResource
{
    [Key] String Name; //The name of the DAG network
    [Required, EmbeddedInstance("MSFT_Credential")] String Credential; //Credentials used to establish a remote Powershell session to Exchange
    [Required] String DatabaseAvailabilityGroup; //The DAG where the network will live
    [Required, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; //Whethe the DAG network should exist or not

    //Remaining properties correspond directly to Set-DatabaseAvailabilityGroupNetwork parameters
    //http://technet.microsoft.com/en-us/library/dd298008(v=exchg.150).aspx
    [Write] String DomainController;
    [Write] Boolean IgnoreNetwork;
    [Write] Boolean ReplicationEnabled;
    [Write] String Subnets[];
};