forked from dsccommunity/SqlServerDsc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SqlServerMemory: Localization, unit tests and fix bug (dsccommunity#1330
) - Changes to SqlServerMemory - Added en-US localization (issue dsccommunity#617). - No longer will the resource set the MinMemory value if it was provided in a configuration that also set the `Ensure` parameter to 'Absent' (issue dsccommunity#1329). - Refactored unit tests to simplify them add add slightly more code coverage.
- Loading branch information
Showing
6 changed files
with
364 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
DSCResources/MSFT_SqlServerMemory/en-US/MSFT_SqlServerMemory.strings.psd1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ConvertFrom-StringData @' | ||
GetMemoryValues = Getting the current values for minimum and maximum SQL server memory for instance '{0}'. | ||
SetNewValues = Setting the minimum and maximum memory that will be used by the instance '{0}'. | ||
MaxMemoryParamMustBeNull = The parameter MaxMemory must be null when the parameter DynamicAlloc is set to true. | ||
MaxMemoryParamMustNotBeNull = The parameter MaxMemory must not be null when the parameter DynamicAlloc is set to false. | ||
DynamicMaxMemoryValue = Dynamic maximum memory has been calculated to {0}MB. | ||
MaximumMemoryLimited = Maximum memory used by the instance '{0}' has been limited to {1}MB. | ||
MinimumMemoryLimited = Minimum memory used by the instance '{0}' has been set to {1}MB. | ||
DefaultValues = Resetting to the default values; MinMemory = {0}, MaxMemory = {1}. | ||
ResetDefaultValues = Minimum and maximum server memory values used by the instance {0} has been reset to the default values. | ||
AlterServerMemoryFailed = Failed to alter the server configuration memory for {0}\\{1}. | ||
ErrorGetDynamicMaxMemory = Failed to calculate dynamically the maximum memory. | ||
EvaluatingMinAndMaxMemory = Determines the values of the minimum and maximum memory server configuration option for the instance '{0}'. | ||
NotActiveNode = The node '{0}' is not actively hosting the instance '{1}'. Will always return success for this resource on this node, until this node is actively hosting the instance. | ||
WrongMaximumMemory = Current maximum server memory used by the instance is {0}MB, but expected {1}MB. | ||
WrongMinimumMemory = Current minimum server memory used by the instance is {0}MB, but expected {1}MB. | ||
'@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.