BREAKING CHANGE: SQLAlwaysOnService: Get-TargetResource should return Ensure=Absent #1759
Labels
breaking change
When used on an issue, the issue has been determined to be a breaking change.
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
Problem description
When SQL Always On is disabled and you wish to enable it, Get-TargetResource returns
It seems odd to not just return
Ensure = 'Absent'
instead of having an additional parameter?Verbose logs
DSC configuration
Suggested solution
Remove
IsHadrEnabled
and return the state inEnsure
. UpdateTest-TargetResource
to look atEnsure
instead ofIsHadrEnabled
SQL Server edition and version
SQL Server PowerShell modules
Operating system
PowerShell version
SqlServerDsc version
The text was updated successfully, but these errors were encountered: