DSCResources/DSC_SqlAlwaysOnService/DSC_SqlAlwaysOnService.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("SqlAlwaysOnService")]
class DSC_SqlAlwaysOnService : OMI_BaseResource { [Key, Description("The name of the SQL instance to be configured.")] String InstanceName; [Required, Description("An enumerated value that describes if the SQL Server should have Always On high availability and disaster recovery (HADR) property enabled ('Present') or disabled ('Absent')."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("The hostname of the SQL Server to be configured. Default value is $env:COMPUTERNAME.")] String ServerName; [Write, Description("The length of time, in seconds, to wait for the service to restart. Default value is 120 seconds.")] UInt32 RestartTimeout; [Read, Description("Returns the status of AlwaysOn high availability and disaster recovery (HADR).")] Boolean IsHadrEnabled; }; |