Click or drag to resize
CloudNetworkServiceExtensionsListPorts Method
Lists all ports associated with the account.

Namespace: Rackspace.Synchronous
Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax
public static IPage<Port> ListPorts(
	this CloudNetworkService cloudNetworkService,
	Identifier startPortid = null,
	Nullable<int> pageSize = null
)

Parameters

cloudNetworkService
Type: Rackspace.CloudNetworks.v2CloudNetworkService
startPortid (Optional)
Type: RackspaceIdentifier
pageSize (Optional)
Type: SystemNullableInt32

Return Value

Type: IPagePort
A collection of port resources associated with the account.

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