|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcQosWorkload
NAME
Get-NcQosWorkload
SYNOPSIS
Get a list of workloads.
SYNTAX
Get-NcQosWorkload [[-Name] <String[]>] [[-PolicyUuid] <String[]>] [-Attribut
es <QosWorkloadInfo>] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcQosWorkload -Template [-Controller <NcController[]>] [<CommonParameter
s>]
Get-NcQosWorkload -Query <QosWorkloadInfo> [-Attributes <QosWorkloadInfo>] [
-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get a list of workloads.
PARAMETERS
-Name <String[]>
The QoS workload name(s) to get. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PolicyUuid <String[]>
Unique identifier(s) of the policy the workload is using. Data ONTAP wi
ldcards are permitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <QosWorkloadInfo>
For improved scalability in large clusters, provide a QosStreamInfo obje
ct with various fields set to indicate which fields to return on all obj
ects. Undesired fields should remain set to null. Use "Get-NcQosStream
-Template" to get the initially empty QosStreamInfo object. If not spe
cified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-Template
Specify to get an empty QosStreamInfo object for use with advanced queri
es involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <QosWorkloadInfo>
For advanced queries, provide a QosStreamInfo object with various fields
set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcQosStream -Template" to get the initially empty
QosStreamInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
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.Qos.QosWorkloadInfo
NOTES
Category: qos
API: qos-workload-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcQosWorkload -Name User-Default
Get the quality of service workload named "User-Default"
MatchPriority : 0
PolicyUuid : 700169c0-eae7-11e0-8b1e-123478563412
WorkloadClass : preset
WorkloadName : User-Default
WorkloadUuid : 700283a0-eae7-11e0-8b1e-123478563412
MatchPrioritySpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcQosWorkload -Template
$q.WorkloadClass = "user_defined"
Get-NcQosWorkload -Query $q
Get all of the quality of service workloads that are user defined.
MatchPriority : 1
PolicyUuid : 700169c0-eae7-11e0-8b1e-123478563412
WorkloadClass : user_defined
WorkloadName : test-workload
WorkloadUuid : f7c38bee-6de3-11e1-a794-123478563412
MatchPrioritySpecified : True
RELATED LINKS
New-NcQosWorkload
Remove-NcQosWorkload
Set-NcQosWorkload
Update-NcQosWorkload
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|