GatewayOperationsExtensions.GetAsync(IGatewayOperations, String) 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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName);
static member GetAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse>
<Extension()>
Public Function GetAsync (operations As IGatewayOperations, networkName As String) As Task(Of GatewayGetResponse)
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- networkName
- String
Required. The name of the virtual network for this gateway.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET