IGatewayOperations.GetAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Get Virtual Network Gateway operation gets information about the network gateway for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154109.aspx for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse> GetAsync (string networkName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse>
Public Function GetAsync (networkName As String, cancellationToken As CancellationToken) As Task(Of GatewayGetResponse)
Parameters
- networkName
- String
The name of the virtual network for this gateway.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.