Closed sara921-spec closed 1 month ago
Suggest we add a boolean parameter ProductCoveredBySA
to the existing logic in the resource SqlSetup. I think this should be fairly easy to add for someone in the community.
[!NOTE] Suggest not use the new command
Install-SqlDscServer
as that would be a much larger undertaking, one that work was started for in PR #1912 but was not completed.
Command proposal
A new installation parameter, /PRODUCTCOVEREDBYSA, was introduced in SQL Server 2022 (16.x). This parameter indicates whether the provided product key (/PID=) license is covered under a Software Assurance or SQL Server Subscription contract, or just a SQL Server license.
Proposed parameters
"PRODUCTCOVEREDBYSA"
Special considerations or limitations
We have the new parameter "PRODUCTCOVEREDBYSA" available for "Install-SqlDscResource" but currently there is no resource using that command and this is to add the parameter to the DSC resource "DSC_SqlSetup" for the SQL 2022 installs.
SqlServerDsc-16.6.0\source\DSCResources\DSC_SqlSetup
https://github.com/dsccommunity/SqlServerDsc/issues/1798