| CloudNetworkServiceListNetworksAsync Method |
Lists all networks associated with the account.
Namespace: Rackspace.CloudNetworks.v2Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public Task<IPage<Network>> ListNetworksAsync(
Identifier startNetworkId = null,
Nullable<int> pageSize = null,
CancellationToken cancellationToken = null
)
Public Function ListNetworksAsync (
Optional startNetworkId As Identifier = Nothing,
Optional pageSize As Nullable(Of Integer) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IPage(Of Network))
public:
Task<IPage<Network^>^>^ ListNetworksAsync(
Identifier^ startNetworkId = nullptr,
Nullable<int> pageSize = nullptr,
CancellationToken cancellationToken = nullptr
)
member ListNetworksAsync :
?startNetworkId : Identifier *
?pageSize : Nullable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _startNetworkId = defaultArg startNetworkId null
let _pageSize = defaultArg pageSize null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<IPage<Network>>
Parameters
- startNetworkId (Optional)
- Type: RackspaceIdentifier
- pageSize (Optional)
- Type: SystemNullableInt32
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Return Value
Type:
TaskIPageNetwork
A collection of network resources associated with the account.
See Also