Change Journal limit variable types to uint64
This commit is contained in:
@@ -136,12 +136,12 @@ function New-ZertoVpg {
|
||||
HelpMessage = "Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited",
|
||||
Mandatory = $false
|
||||
)]
|
||||
[int]$journalHardLimitInMb = 153600,
|
||||
[uint64]$journalHardLimitInMb = 153600,
|
||||
[Parameter(
|
||||
HelpMessage = "Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit.",
|
||||
Mandatory = $false
|
||||
)]
|
||||
[int]$journalWarningThresholdInMb = 0
|
||||
[uint64]$journalWarningThresholdInMb = 0
|
||||
)
|
||||
|
||||
begin {
|
||||
@@ -299,4 +299,4 @@ function New-ZertoVpg {
|
||||
# Return vpgSettings Identifier as a string to pass into Save function.
|
||||
return $vpgSettingsIdentifier.toString()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7911,9 +7911,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -7935,9 +7935,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -8143,9 +8143,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -8167,9 +8167,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -8375,9 +8375,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -8399,9 +8399,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -8607,9 +8607,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -8631,9 +8631,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -8839,9 +8839,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -8863,9 +8863,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -9071,9 +9071,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -9095,9 +9095,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
@@ -9315,9 +9315,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal hard limit in megabytes. Default set to 153600 MB (150 GB). Set to 0 to set the journal to unlimited</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>153600</dev:defaultValue>
|
||||
@@ -9339,9 +9339,9 @@
|
||||
<maml:Description>
|
||||
<maml:para>Default journal warning threshold in megabytes. If unset or greater than the hard limit, will be set to 75% of the journal hard limit. If the journalHardLimitInMB is set to 0 (unlimited), this will be set to unlimited as well.</maml:para>
|
||||
</maml:Description>
|
||||
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
|
||||
<command:parameterValue required="true" variableLength="false">UInt64</command:parameterValue>
|
||||
<dev:type>
|
||||
<maml:name>Int32</maml:name>
|
||||
<maml:name>UInt64</maml:name>
|
||||
<maml:uri />
|
||||
</dev:type>
|
||||
<dev:defaultValue>None</dev:defaultValue>
|
||||
|
||||
Reference in New Issue
Block a user