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