Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: New-NcQosPolicy


NAME
New-NcQosPolicy

SYNOPSIS
Create a new policy.

SYNTAX
New-NcQosPolicy [-Name] <String> [-Controller <NcController[]>] [-WhatIf] [-
Confirm] [<CommonParameters>]


DESCRIPTION
Create a new policy. A unique name must be provided for the new policy. Th
e policy will not affect any work until it is assigned to a workload. There
fore a workload referencing the policy should usually be created along with
the policy.


PARAMETERS
-Name <String>
User visible name of QoS policy.

Required? true
Position? 1
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.QosPolicyInfo


NOTES


Category: qos
API: qos-policy-create
Family: cluster

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

C:\PS>New-NcQosPolicy new-policy


Create a new quality of service policy name new-policy.


PolicyName : new-policy
NcController : 10.60.189.172
CachePolicyName : Default
PolicyClass : user_defined
PolicyUuid : c466bfd3-6df8-11e1-a794-123478563412
ReadAheadPolicyName : Default



RELATED LINKS
Get-NcQosPolicy
Remove-NcQosPolicy
Set-NcQosPolicy
Update-NcQosPolicy







 Data ONTAP® PowerShell Toolkit