DSCResources/MSFT_xSqlServerDefaultDir/MSFT_xSqlServerDefaultDir.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xSqlServerDefaultDir")]
class MSFT_xSqlServerDefaultDir : OMI_BaseResource
{
    [Key, Description("Hostname of the SQL Server to be configured")] String SQLServer;
    [Key, Description("Name of the SQL Instance to be configured")] String SQLInstanceName;
    [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Key, Description("The default setting to change"), ValueMap{"BackupDirectory","DefaultData","DefaultLog"}, Values{"BackupDirectory","DefaultData","DefaultLog"}] String Name;
    [Write, Description("The path to set as default")] String Path;
    [Write, Description("If set to true then the instance will be restarted after making the change")] Boolean RestartService;
};