GatewayOperationsExtensions.GetVirtualNetworkGatewayAsync 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 virtual network gateway
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.VirtualNetworkGatewayGetResponse> GetVirtualNetworkGatewayAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId);
static member GetVirtualNetworkGatewayAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.VirtualNetworkGatewayGetResponse>
<Extension()>
Public Function GetVirtualNetworkGatewayAsync (operations As IGatewayOperations, gatewayId As String) As Task(Of VirtualNetworkGatewayGetResponse)
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- gatewayId
- String
Required. The virtual network gateway id.
Returns
A standard service response including an HTTP status code and request ID.