DSCResources/MSFT_xSPCreateFarm/MSFT_xSPCreateFarm.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xSPCreateFarm")]
class MSFT_xSPCreateFarm : OMI_BaseResource
{
    [Key] String FarmConfigDatabaseName;
    [Key] String DatabaseServer;
    [Required, EmbeddedInstance("MSFT_Credential")] String FarmAccount;
    [Write, EmbeddedInstance("MSFT_Credential")] String InstallAccount;
    [Required] String Passphrase;
    [Required] String AdminContentDatabaseName;
    [Write] uint32 CentralAdministrationPort;
    [Write, ValueMap{"Application","Custom","DistributedCache","Search","SingleServer","SingleServerFarm","SpecialLoad","WebFrontEnd"}, Values{"Application","Custom","DistributedCache","Search","SingleServer","SingleServerFarm","SpecialLoad","WebFrontEnd"}] string ServerRole;
};