| CloudNetworkServiceGetSubnetAsync Method |
Gets the specified subnet.
Namespace: Rackspace.CloudNetworks.v2Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public Task<Subnet> GetSubnetAsync(
Identifier subnetId,
CancellationToken cancellationToken = null
)
Public Function GetSubnetAsync (
subnetId As Identifier,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Subnet)
public:
Task<Subnet^>^ GetSubnetAsync(
Identifier^ subnetId,
CancellationToken cancellationToken = nullptr
)
member GetSubnetAsync :
subnetId : Identifier *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<Subnet>
Parameters
- subnetId
- Type: RackspaceIdentifier
The subnet identifier. - 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:
TaskSubnet
The subnet associated with the specified identifier.
See Also