 | CloudNetworkServiceExtensionsUpdatePort Method |
Updates the specified port.
Namespace: Rackspace.SynchronousAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntaxpublic static Port UpdatePort(
this CloudNetworkService cloudNetworkService,
Identifier portId,
PortUpdateDefinition port
)
<ExtensionAttribute>
Public Shared Function UpdatePort (
cloudNetworkService As CloudNetworkService,
portId As Identifier,
port As PortUpdateDefinition
) As Port
public:
[ExtensionAttribute]
static Port^ UpdatePort(
CloudNetworkService^ cloudNetworkService,
Identifier^ portId,
PortUpdateDefinition^ port
)
[<ExtensionAttribute>]
static member UpdatePort :
cloudNetworkService : CloudNetworkService *
portId : Identifier *
port : PortUpdateDefinition -> Port
Parameters
- cloudNetworkService
- Type: Rackspace.CloudNetworks.v2CloudNetworkService
- portId
- Type: RackspaceIdentifier
The port identifier. - port
- Type: Rackspace.CloudNetworks.v2PortUpdateDefinition
The updated port definition.
Return Value
Type:
Port
The updated port.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CloudNetworkService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also