Add Interval Parameter

This commit is contained in:
Wes Carroll
2019-06-10 11:38:36 -04:00
parent 8edfb97b1f
commit 598b9027a6
4 changed files with 47 additions and 6 deletions
@@ -38,7 +38,13 @@ function Get-ZANetworkSiteAverageIOPS {
HelpMessage = "The ZORG identifier by which to filter the executive summary."
)]
[ValidateNotNullOrEmpty()]
[string]$zOrgIdentifier
[string]$zOrgIdentifier,
[Parameter(
HelpMessage = "The interval selected within the duration of the report. The interval can be per hour, for up to 15 days time frame or per day, for between 15 to 30 days' time frame. Submit value in Seconds"
)]
[ValidateRange(60, 2678400)]
[Int32]$interval
)
$filter = Get-ZertoAPIFilter -filtertable $PSBoundParameters
@@ -38,7 +38,12 @@ function Get-ZANetworkSiteAveragePerformance {
HelpMessage = "The ZORG identifier by which to filter the executive summary."
)]
[ValidateNotNullOrEmpty()]
[string]$zOrgIdentifier
[string]$zOrgIdentifier,
[Parameter(
HelpMessage = "The interval selected within the duration of the report. The interval can be per hour, for up to 15 days time frame or per day, for between 15 to 30 days' time frame. Submit value in Seconds"
)]
[ValidateRange(60, 2678400)]
[Int32]$interval
)
$filter = Get-ZertoAPIFilter -filtertable $PSBoundParameters