|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Update-NcClusterHa
NAME
Update-NcClusterHa
SYNOPSIS
Modify the attributes of cf or a group of cf objects.
SYNTAX
Update-NcClusterHa -Query <OptionsRelatedInfoModify> -Attributes <OptionsRel
atedInfoModify> [-ContinueOnFailure] [-MaxFailureCount <Int32>] [-Controller
<NcController[]>] [<CommonParameters>]
Update-NcClusterHa -Template [-Controller <NcController[]>] [<CommonParamete
rs>]
DESCRIPTION
Modify the attributes of cf or a group of cf objects.
PARAMETERS
-Query <OptionsRelatedInfoModify>
A OptionsRelatedInfoModify object with various fields set to indicate wh
ich cf objects to modify. Other fields should remain set to null. Use
"Update-NcClusterHa -Template" to get the initially empty OptionsRelated
InfoModify object.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Attributes <OptionsRelatedInfoModify>
A OptionsRelatedInfoModify object with various fields set to the values
that will be set on all objects that are identified by the Query paramet
er. Other fields should remain set to null. Use "Update-NcClusterHa -T
emplate" to get the initially empty OptionsRelatedInfoModify 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 modifying the next matching objec
t even when modification of a previous object fails. If set to false, t
he 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 modify operations before the server gives up and r
eturns. If set, the cmdlet will continue modifying the next matching ob
ject even when the modification of a previous matching object fails, and
do so until the total number of objects failed to be modified reaches t
he maximum specified. If set to the maximum or not provided, then there
will be no limit on the number of failed modify operations. Only appli
cable if ContinueOnFailure is specified. Default: 2^32-1
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 TableModifyResult object for use with advanced q
ueries involving the Query attribute.
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.PowerShell.SDK.Cmdlets.TableModifyResult
NOTES
Category: cf
API: cf-modify-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>$query = Update-NcClusterHa -Template
$query.Node = "beam-cluster-01"
$attr = Update-NcClusterHa -Template
$attr.AutoGivebackEnabled = $true
Update-NcClusterHa -Query $query -Attributes $attr
Enable auto giveback on node 'beam-cluster-01'.
NcController : 10.63.10.33
SuccessCount : 1
FailureCount : 0
SuccessList : {DataONTAP.C.Types.Cf.OptionsRelatedInfoModify}
FailureList : {}
RELATED LINKS
Get-NcClusterHa
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|