Share via


IGatewayOperations.GetAsync Method (String, CancellationToken)

 

The Get Virtual Network Gateway operation gets information about the network gateway for the specified virtual network in Azure. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154109.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

Task<GatewayGetResponse> GetAsync(
    string networkName,
    CancellationToken cancellationToken
)
Task<GatewayGetResponse^>^ GetAsync(
    String^ networkName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        networkName:string *
        cancellationToken:CancellationToken -> Task<GatewayGetResponse>
Function GetAsync (
    networkName As String,
    cancellationToken As CancellationToken
) As Task(Of GatewayGetResponse)

Parameters

  • networkName
    Type: System.String

    The name of the virtual network for this gateway.

Return Value

Type: System.Threading.Tasks.Task<GatewayGetResponse>

A standard service response including an HTTP status code and request ID.

See Also

IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top