Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcQosWorkload


NAME
Set-NcQosWorkload

SYNOPSIS
Modify a workload.

SYNTAX
Set-NcQosWorkload [-WorkloadUuid] <String> [-WorkloadName <String>] [-Policy
Uuid <String>] [-MatchPriority <Int32>] [-Controller <NcController[]>] [-Wha
tIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Modify a workload. This may be used to attach/detach policies, rename the w
orkload, or modify the workload's policy-priority.


PARAMETERS
-WorkloadUuid <String>
Universally unique identifier for the QoS workload.

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

-WorkloadName <String>
The user visible name of the QoS workload.

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

-PolicyUuid <String>
Universally unique identifier of the policy that the workload is using.

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

-MatchPriority <Int32>
Priority of workload if a request can be classified into multiple worklo
ads. The request will be classified to the workload with the highest ma
tch-priority. If the workloads have the same match priority then defaul
t matching rules are used. Modifying this field is not recommended.

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

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


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
DataONTAP.C.Types.Qos.QosWorkloadInfo


NOTES


Category: qos
API: qos-workload-modify
Family: cluster

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

C:\PS>Set-NcQosWorkload d15633d5-6e11-11e1-a794-123478563412 -PolicyUuid 86e
fe287-6e0f-11e1-a794-123478563412


Set the given workload to use the given policy.


WorkloadName WorkloadClass PolicyUuid
MatchPriority
------------ ------------- ----------
-------------
test-workload user_defined 86efe287-6e0f-11e1-a794-123478
563412 1



RELATED LINKS
Get-NcQosWorkload
New-NcQosWorkload
Remove-NcQosWorkload
Update-NcQosWorkload







 Data ONTAP® PowerShell Toolkit