Add Interval Parameter
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -16,13 +16,13 @@ Get average and maximum IOPS performance for sites, filtered by start date and e
|
||||
### ProtectedSite (Default)
|
||||
```
|
||||
Get-ZANetworkSiteAverageIOPS -protectedSiteIdentifier <String> [-recoverySiteIdentifier <String>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [<CommonParameters>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [-interval <Int32>] [<CommonParameters>]
|
||||
```
|
||||
|
||||
### RecoverySite
|
||||
```
|
||||
Get-ZANetworkSiteAverageIOPS [-protectedSiteIdentifier <String>] -recoverySiteIdentifier <String>
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [<CommonParameters>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [-interval <Int32>] [<CommonParameters>]
|
||||
```
|
||||
|
||||
## DESCRIPTION
|
||||
@@ -67,6 +67,21 @@ Accept pipeline input: False
|
||||
Accept wildcard characters: False
|
||||
```
|
||||
|
||||
### -interval
|
||||
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
|
||||
|
||||
```yaml
|
||||
Type: Int32
|
||||
Parameter Sets: (All)
|
||||
Aliases:
|
||||
|
||||
Required: False
|
||||
Position: Named
|
||||
Default value: 0
|
||||
Accept pipeline input: False
|
||||
Accept wildcard characters: False
|
||||
```
|
||||
|
||||
### -protectedSiteIdentifier
|
||||
Protected site identifier.
|
||||
A site identification is required for at least one of the sites.
|
||||
|
||||
@@ -16,13 +16,13 @@ Get list of samples of average and maximum network performance metrics (throughp
|
||||
### ProtectedSite (Default)
|
||||
```
|
||||
Get-ZANetworkSiteAveragePerformance -protectedSiteIdentifier <String> [-recoverySiteIdentifier <String>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [<CommonParameters>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [-interval <Int32>] [<CommonParameters>]
|
||||
```
|
||||
|
||||
### RecoverySite
|
||||
```
|
||||
Get-ZANetworkSiteAveragePerformance [-protectedSiteIdentifier <String>] -recoverySiteIdentifier <String>
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [<CommonParameters>]
|
||||
[-startDate <String>] [-endDate <String>] [-zOrgIdentifier <String>] [-interval <Int32>] [<CommonParameters>]
|
||||
```
|
||||
|
||||
## DESCRIPTION
|
||||
@@ -67,6 +67,21 @@ Accept pipeline input: False
|
||||
Accept wildcard characters: False
|
||||
```
|
||||
|
||||
### -interval
|
||||
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
|
||||
|
||||
```yaml
|
||||
Type: Int32
|
||||
Parameter Sets: (All)
|
||||
Aliases:
|
||||
|
||||
Required: False
|
||||
Position: Named
|
||||
Default value: 0
|
||||
Accept pipeline input: False
|
||||
Accept wildcard characters: False
|
||||
```
|
||||
|
||||
### -protectedSiteIdentifier
|
||||
Protected site identifier.
|
||||
A site identification is required for at least one of the sites.
|
||||
|
||||
Reference in New Issue
Block a user