Update install-payg-sql-server.ps1

This commit is contained in:
Alexander (Sasha) Nosov
2024-07-29 20:24:13 -07:00
committed by GitHub
parent 6c61562967
commit 814fbdee20
@@ -217,7 +217,7 @@ try {
$Settings = @{
SqlManagement = @{ IsEnabled = $true };
LicenseType = "PAYG";
enableExtendedSecurityUpdates = $True;
enableExtendedSecurityUpdates = $False;
esuLastUpdatedTimestamp = [DateTime]::UtcNow.ToString('yyyy-MM-ddTHH:mm:ss.fffZ')
}
New-AzConnectedMachineExtension -ResourceGroupName $AzureResourceGroup -MachineName $hostName -Name "Microsoft.AzureData" -Publisher "Microsoft.AzureData" -ExtensionType "WindowsAgent.SqlServer" -Location $AzureRegion -Settings $Settings -EnableAutomaticUpgrade