|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NcQosStream
NAME
Remove-NcQosStream
SYNOPSIS
Remove a stream.
SYNTAX
Remove-NcQosStream [-StreamId] <Int64> [-WorkloadUuid] <String> [-Controller
<NcController[]>] [<CommonParameters>]
Remove-NcQosStream -Query <QosStreamInfo> [-ContinueOnFailure] [-MaxFailureC
ount <Int32>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Remove a stream.
This cmdlet is not available for Data ONTAP 8.2 and up.
PARAMETERS
-StreamId <Int64>
Identifier for this stream.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WorkloadUuid <String>
Universally unique identifier for the workload to which the stream is at
tached.
Required? true
Position? 2
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
-Query <QosStreamInfo>
A QosStreamInfo object with various fields set to indicate which QoS str
eams to delete. Other fields should remain set to null. Use "Get-NcQos
Stream -Template" to get the initially empty QosStreamInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ContinueOnFailure
This input element is useful when multiple objects match a given query.
If set to true, the API will continue removing the next matching object
even when removal of a previous object fails. If set to false, the API
will return on the first failure. Default: false.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MaxFailureCount <Int32>
When allowing failures, then this input element may be provided to limit
the number of failed remove operations before the server gives up and r
eturns. If set, the cmdlet will continue removing the next matching obj
ect even when the removal of a previous matching object fails, and do so
until the total number of objects failed to be removed reaches the maxi
mum specified. If set to the maximum or not provided, then there will b
e no limit on the number of failed remove operations. Only applicable i
f ContinueOnFailure is specified. Default: 2^32-1
Required? false
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
NOTES
Category: qos
API: qos-stream-destroy, qos-stream-destroy-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Remove-NcQosStream -StreamId 0 -WorkloadUuid aba034e9-6e00-11e1-a794-1
23478563412
Remove the specified quality of service stream.
-------------- Example 2 --------------
C:\PS>$q = Get-NcQosStream -Template
Initialize-NcObjectProperty $q Characteristics 1
$q.Characteristics[0].Volume = "luns"
Remove-NcQosStream -Query $q
Remove all quality of service streams for volume "luns"
SuccessCount : 1
FailureCount : 0
SuccessList : {DataONTAP.C.Types.Qos.QosStreamInfo}
FailureList : {}
RELATED LINKS
Get-NcQosStream
New-NcQosStream
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|