| CloudNetworkServiceExtensionsUpdateNetwork Method |
Updates the specified network.
Namespace: Rackspace.SynchronousAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public static Network UpdateNetwork(
this CloudNetworkService cloudNetworkService,
Identifier networkId,
NetworkDefinition network
)
<ExtensionAttribute>
Public Shared Function UpdateNetwork (
cloudNetworkService As CloudNetworkService,
networkId As Identifier,
network As NetworkDefinition
) As Network
public:
[ExtensionAttribute]
static Network^ UpdateNetwork(
CloudNetworkService^ cloudNetworkService,
Identifier^ networkId,
NetworkDefinition^ network
)
[<ExtensionAttribute>]
static member UpdateNetwork :
cloudNetworkService : CloudNetworkService *
networkId : Identifier *
network : NetworkDefinition -> Network
Parameters
- cloudNetworkService
- Type: Rackspace.CloudNetworks.v2CloudNetworkService
- networkId
- Type: RackspaceIdentifier
The network identifier. - network
- Type: Rackspace.CloudNetworks.v2NetworkDefinition
The updated network definition.
Return Value
Type:
Network
The updated network.
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