|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaFpolicyOption
NAME
Set-NaFpolicyOption
SYNOPSIS
Sets policy's options.
SYNTAX
Set-NaFpolicyOption [-Name] <String> [[-RequestTimeout] <Int32>] [[-Progress
Timeout] <Int32>] [-Required] [-CifsSetAttrEnabled] [-CifsDisconnectCheckEna
bled] [-AdsMonitored] [-Controller <NaController>] [-WhatIf] [-Confirm] [<Co
mmonParameters>]
DESCRIPTION
Sets policy's options.
PARAMETERS
-Name <String>
Name of the fpolicy to set options for.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-RequestTimeout <Int32>
Timeout (in seconds) for a screen request to be processed by an FPolicy
server. Range : [0..4294967].
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ProgressTimeout <Int32>
Timeout (in seconds) in which a throttled FPolicy server must complete a
t least one screen request. Range : [0..4294967].
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Required
Indicator if the screening with this policy is required, i.e. will it fa
il if the server is not registered. If set to true, the request will fai
l if there is no server to evaluate it. If it's false, the request will
succeed. If the switch is not specified, the value will default to fals
e.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CifsSetAttrEnabled
Indicator whether cifs-setattr support is enabled on this policy or not.
If set to true, cifs setattr operations will be screened. If the switch
is not specified, the value will default to false.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CifsDisconnectCheckEnabled
'true' if requests associated with disconnected CIFS sessions must not b
e screened, 'false' otherwise. If the switch is not specified, the valu
e will default to false.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AdsMonitored
Indicates if the policy monitors the CIFS operations on Alternate Data S
treams. If the switch is not specified, the value will default to false.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
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
NetApp.Ontapi.Filer.Fpolicy.PolicyInfo
NOTES
Category: fpolicy
API: fpolicy-set-policy-options
-------------- Example 1 --------------
C:\PS>Set-NaFpolicyOption policy2 -RequestTimeout 10 -ProgressTimeout 50 -Re
quired -AdsMonitored | Get-NaFpolicyOption
Sets some options for fpolicy policy2: Sets request timeout to 10 seconds,
progress timeout to 50 seconds, required to true and ads monitored to true.
Then get some options for fpolicy policy2.
Name : policy2
IsRequired : True
IsCifsSetAttrEnabled : False
IsAdsMonitored : True
ReqCancelTimeout : 10
ServerProgressTimeout : 50
IsCifsDisconnectCheckEnabled : False
RELATED LINKS
Get-NaFpolicyOption
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|