Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcPerfPresetDetailInfo


NAME
Get-NcPerfPresetDetailInfo

SYNOPSIS
Get a perf PresetDetailInfo object.

SYNTAX
Get-NcPerfPresetDetailInfo [-Object] <String> [-Counter] <String[]> [-Sample
Period <String>] [-Filter <String[]>] [-Controller <NcController[]>] [<Commo
nParameters>]


DESCRIPTION
Get a perf PresetDetailInfo object. Use with New-NcPerfPreset.


PARAMETERS
-Object <String>
Performance object.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Counter <String[]>
Set of counter names.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-SamplePeriod <String>
Performance archive sample period. Possible Values: none, 1s, 5s, 10s,
30s, 1m, 5m, 10m, 30m, 1h, 6h, 12h, 1d, 1w, config

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Filter <String[]>
Instance filters.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Perf.PresetDetailInfo


NOTES


Category: perf
Family: cluster

-------------- Example 1 --------------

C:\PS>$presetDetails = @()
$presetDetails += Get-NcPerfPresetDetailInfo -Object volume -Counter read_da
ta, write_data -SamplePeriod 5m
$presetDetails += Get-NcPerfPresetDetailInfo -Object volume -Counter write_o
ps, write_latency, read_ops, read_latency -SamplePeriod 1m
New-NcPerfPreset -Name powershell_volume -Comment "Collect perf data for vol
umes." -Detail $presetDetails


Create a new performance preset for volume perf data.


Preset Privilege IsReadOnly IsArchiveEnabled Comment
------ --------- ---------- ---------------- -------
powershell_volume diagnostic False False Collect pe
rf data for volumes.



RELATED LINKS
New-NcPerfPreset







 Data ONTAP® PowerShell Toolkit