-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVLogicalSwitch
Refresh a new Logical Switch resource.
Update-HPOVLogicalSwitch [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>] [-WhatIf] <>[ [-Confirm] <SwitchParameter>] [<CommonParameters>]
A logical switch is based on a logical switch group configuration. If the logical switch transitions to an "Inconsistent with group state", due to changes in either the logical switch or the logical switch group, this Cmdlet will update (or refresh) the logical switch configuration based on the logical switch group and return to a consistent state. Required privileges: Infrastructure administrator or Network administrator
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Bypass the confirmation prompt, and process all of the objects.
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
The Logical Switch resource Name or Object to update.
Aliases | LS, LogicalSwitch |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <>
Aliases | wi |
Required? | |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Networking.LogicalSwitch [System.Management.Automation.PSCustomObject]
Logical Switch resource.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
The async task resource object to monitor (if -Async was used) or results.
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Collection of Update Logical Switch async task resources.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVLogicalSwitch | Update-HPOVLogicalSwitch
Update all logical switch resources found on the default appliance connection.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLogicalSwitch -Name "My Logical Switch 1" | Update-HPOVLogicalSwitch -confirm:$false
Update the "My Logical Switch 1" resource.
- Get-HPOVLogicalSwitch
- Get-HPOVLogicalSwitchGroup
- New-HPOVLogicalSwitch
- New-HPOVLogicalSwitchGroup
- Remove-HPOVLogicalSwitch
- Remove-HPOVLogicalSwitchGroup
Refresh a new Logical Switch resource.
Update-HPOVLogicalSwitch [-InputObject] <Object>[ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>] [-WhatIf] <>[ [-Confirm] <SwitchParameter>] [<CommonParameters>]
A logical switch is based on a logical switch group configuration. If the logical switch transitions to an "Inconsistent with group state", due to changes in either the logical switch or the logical switch group, this Cmdlet will update (or refresh) the logical switch configuration based on the logical switch group and return to a consistent state. Required privileges: Infrastructure administrator or Network administrator
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Bypass the confirmation prompt, and process all of the objects.
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
The Logical Switch resource Name or Object to update.
Aliases | LS, LogicalSwitch |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <>
Aliases | wi |
Required? | |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Networking.LogicalSwitch [System.Management.Automation.PSCustomObject]
Logical Switch resource.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
The async task resource object to monitor (if -Async was used) or results.
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Collection of Update Logical Switch async task resources.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVLogicalSwitch | Update-HPOVLogicalSwitch
Update all logical switch resources found on the default appliance connection.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLogicalSwitch -Name "My Logical Switch 1" | Update-HPOVLogicalSwitch -confirm:$false
Update the "My Logical Switch 1" resource.
- Get-HPOVLogicalSwitch
- Get-HPOVLogicalSwitchGroup
- New-HPOVLogicalSwitch
- New-HPOVLogicalSwitchGroup
- Remove-HPOVLogicalSwitch
- Remove-HPOVLogicalSwitchGroup